Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 193 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.143/3.143, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 64.58 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4273, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.005135/0.4324, allocations: 2.651 MB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.4349, allocations: 0.9154 MB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006716/0.4356, allocations: 11.94 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.436, allocations: 47.52 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.4364, allocations: 43.7 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.4377, allocations: 287.1 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009702/0.4386, allocations: 0.54 MB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006437/0.4393, allocations: 275.7 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.4398, allocations: 175.2 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.4402, allocations: 202.9 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.4403, allocations: 28 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.4405, allocations: 47.92 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.4406, allocations: 79.67 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.4409, allocations: 218.8 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.4418, allocations: 0.6971 MB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4418, allocations: 0 / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4418, allocations: 0 / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.4418, allocations: 0 / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001944/0.4438, allocations: 0.7738 MB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.4438, allocations: 8.031 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.444, allocations: 52.38 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.4447, allocations: 388.3 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.4448, allocations: 37.36 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/0.4449, allocations: 44.31 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.4458, allocations: 430.7 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.4458, allocations: 3.938 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.4459, allocations: 23.98 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.4459, allocations: 12 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006978/0.4466, allocations: 307.9 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.449, allocations: 1.428 MB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.4496, allocations: 261.6 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.4499, allocations: 112.8 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.4499, allocations: 16.05 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.4503, allocations: 199.3 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.4503, allocations: 3.938 kB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.0007843/0.4511, allocations: 342.7 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4513, allocations: 136.5 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.4517, allocations: 413.5 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.4518, allocations: 29.7 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.452, allocations: 240.1 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.146e-05/0.4521, allocations: 82.8 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.4522, allocations: 77.69 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.4523, allocations: 346.8 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.4526, allocations: 125.1 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.453, allocations: 202.4 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.4535, allocations: 290.9 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4535, allocations: 0 / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007602/0.4542, allocations: 428.3 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.4543, allocations: 41.64 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4543, allocations: 0 / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4543, allocations: 4 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.4546, allocations: 56.03 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4546, allocations: 4 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.455, allocations: 79.47 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.4551, allocations: 15.98 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004379/0.4555, allocations: 249 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003392/0.4559, allocations: 192.9 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004804/0.4564, allocations: 270.5 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.4564, allocations: 4 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007845/0.4572, allocations: 415.2 kB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.4572, allocations: 35.27 kB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4573, allocations: 7.938 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.4573, allocations: 4 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.4575, allocations: 59.91 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.4575, allocations: 0 / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.4579, allocations: 63.83 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.4579, allocations: 19.98 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.4581, allocations: 200.1 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.4582, allocations: 39.47 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.4589, allocations: 305.5 kB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.459, allocations: 0 / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.459, allocations: 7.938 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.459, allocations: 3.984 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.4603, allocations: 0.7767 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4603, allocations: 0 / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.4606, allocations: 55.91 kB / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.4606, allocations: 4 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.4606, allocations: 4 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4606, allocations: 4 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4606, allocations: 0 / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009875/0.4616, allocations: 0.4952 MB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.4618, allocations: 120.6 kB / 1.084 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.4619, allocations: 8 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.4621, allocations: 15.98 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.4621, allocations: 19.97 kB / 1.084 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.4622, allocations: 8.094 kB / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003814/0.4626, allocations: 291.2 kB / 1.084 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4626, allocations: 0 / 1.084 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006175/0.4632, allocations: 151.5 kB / 1.084 GB, free: 9.484 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002942/0.4635, allocations: 123.2 kB / 1.084 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.4648, allocations: 0.5649 MB / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.4648, allocations: 0 / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.465, allocations: 116.4 kB / 1.085 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.4656, allocations: 70.03 kB / 1.085 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.4672, allocations: 0.806 MB / 1.086 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.4678, allocations: 0.8114 MB / 1.086 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002492/0.4681, allocations: 47.27 kB / 1.086 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4682, allocations: 39.42 kB / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.4682, allocations: 0 / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of Templates: time 0.01247/0.4807, allocations: 4.602 MB / 1.091 GB, free: 2.277 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1)