Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 172.9 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.3 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009172/0.0009173, allocations: 90.25 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.941e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/0.7517, allocations: 116.3 MB / 0.9734 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.9746, allocations: 137.3 MB / 1.107 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.9749, allocations: 71.94 kB / 1.108 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005088/0.9754, allocations: 369.7 kB / 1.108 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9754, allocations: 0.7188 kB / 1.108 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.9755, allocations: 0 / 1.108 GB, free: 12.36 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002626/0.9757, allocations: 309.2 kB / 1.108 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.9758, allocations: 8.531 kB / 1.108 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.9758, allocations: 6.422 kB / 1.108 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.976, allocations: 163.8 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.976, allocations: 4 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.976, allocations: 0.5312 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.349e-05/0.9761, allocations: 3.828 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.682e-05/0.9761, allocations: 30.27 kB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.9761, allocations: 0.9375 kB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.9762, allocations: 4 kB / 1.108 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9762, allocations: 0.625 kB / 1.108 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.9765, allocations: 361.3 kB / 1.109 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.445e-05/0.9766, allocations: 170 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.9766, allocations: 81.58 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.9766, allocations: 75.28 kB / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.9767, allocations: 115.3 kB / 1.109 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.9767, allocations: 0 / 1.109 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.945e-05/0.9768, allocations: 29.17 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.9768, allocations: 51.41 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.9769, allocations: 96.08 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.9769, allocations: 25.7 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.977, allocations: 81.27 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.977, allocations: 0 / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.977, allocations: 0 / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.9771, allocations: 311.8 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.9771, allocations: 0 / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-06/0.9771, allocations: 1.469 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.9771, allocations: 83.23 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-05/0.9772, allocations: 75.28 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.416e-05/0.9772, allocations: 35.11 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.9773, allocations: 79.28 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/0.9773, allocations: 79.28 kB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-05/0.9774, allocations: 156.4 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.118e-05/0.9774, allocations: 79.22 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.363e-05/0.9775, allocations: 153.3 kB / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.9776, allocations: 82.5 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.9776, allocations: 79.22 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.9777, allocations: 257.1 kB / 1.111 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.59e-05/0.9778, allocations: 134.7 kB / 1.111 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.9779, allocations: 105.3 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.9779, allocations: 110 kB / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.286e-05/0.978, allocations: 184.5 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.669e-05/0.9781, allocations: 184.2 kB / 1.112 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.847e-05/0.9781, allocations: 181.3 kB / 1.112 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.9783, allocations: 378.5 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/0.9784, allocations: 108.9 kB / 1.112 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.9784, allocations: 102.5 kB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.246e-05/0.9785, allocations: 184.2 kB / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.9786, allocations: 181.6 kB / 1.113 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-05/0.9786, allocations: 176.3 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-05/0.9787, allocations: 189.2 kB / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.9788, allocations: 307.6 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.9789, allocations: 190.1 kB / 1.113 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.979, allocations: 180.2 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.9791, allocations: 105 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.9792, allocations: 178 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.9792, allocations: 117.4 kB / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.9792, allocations: 75.28 kB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9793, allocations: 0 / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002489/0.9795, allocations: 0 / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000438/0.9799, allocations: 0.8065 MB / 1.115 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.51e-05/0.98, allocations: 7.922 kB / 1.115 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.98, allocations: 4 kB / 1.115 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.98, allocations: 0 / 1.115 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.9803, allocations: 0.5205 MB / 1.115 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.9806, allocations: 151.7 kB / 1.116 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.9809, allocations: 0.6729 MB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.455e-06/0.9809, allocations: 4 kB / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.9809, allocations: 7.438 kB / 1.116 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of SimCode: time 3.2e-07/0.9809, allocations: 0 / 1.116 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/1.002, allocations: 412.9 kB / 1.117 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/1.002, allocations: 156.5 kB / 1.117 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/2.462, allocations: 0 / 1.117 GB, free: 2.832 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)