Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001703/0.001703, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002297/0.002297, allocations: 201.6 kB / 16.14 MB, free: 6.793 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.55/1.55, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.98/2.98, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.67 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3959, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.00426/0.4002, allocations: 2.655 MB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.402, allocations: 0.9076 MB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.4022, allocations: 11.94 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.4025, allocations: 47.58 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.4026, allocations: 39.66 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.4033, allocations: 295.1 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.4038, allocations: 0.5322 MB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/0.4042, allocations: 283.7 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.4044, allocations: 179.2 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.4046, allocations: 198.9 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.4047, allocations: 28 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.4048, allocations: 43.98 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.4049, allocations: 87.61 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.4051, allocations: 214.8 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.4057, allocations: 0.6894 MB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4057, allocations: 8 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4057, allocations: 0 / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.4057, allocations: 0 / 1.074 GB, free: 4.691 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.0013/0.407, allocations: 0.7737 MB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4071, allocations: 12.03 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.4072, allocations: 52.38 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.4077, allocations: 384.3 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.4078, allocations: 29.38 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.4078, allocations: 44.38 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.4086, allocations: 438.7 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4086, allocations: 7.938 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.4086, allocations: 19.94 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.4087, allocations: 8 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.4093, allocations: 311.9 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.4113, allocations: 1.428 MB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006054/0.4119, allocations: 260.2 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.4122, allocations: 116.8 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.4122, allocations: 8 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.4127, allocations: 200.6 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 2.264e-06/0.4127, allocations: 4 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.0007813/0.4135, allocations: 334.1 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/0.4136, allocations: 140.6 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.414, allocations: 409.5 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.4141, allocations: 33.7 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.4143, allocations: 236.1 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.4143, allocations: 94.73 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.4145, allocations: 73.69 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4146, allocations: 346.8 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.4149, allocations: 125.1 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.4152, allocations: 206.4 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.4157, allocations: 286.9 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4157, allocations: 0 / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007293/0.4164, allocations: 424.4 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.4165, allocations: 45.62 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.4165, allocations: 0 / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.4165, allocations: 4 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.4168, allocations: 55.91 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4168, allocations: 12.06 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.4172, allocations: 71.48 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.4172, allocations: 15.98 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003463/0.4176, allocations: 245.9 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002694/0.4179, allocations: 196.9 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003939/0.4183, allocations: 266.5 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.4183, allocations: 3.984 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006586/0.4189, allocations: 423.2 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.419, allocations: 33.69 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.419, allocations: 7.938 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-06/0.419, allocations: 96 / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.4192, allocations: 63.89 kB / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4192, allocations: 7.938 kB / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.4196, allocations: 59.83 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.4196, allocations: 19.98 kB / 1.082 GB, free: 12.08 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.0001481/0.4198, allocations: 200.1 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.4198, allocations: 43.47 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/0.4204, allocations: 301.5 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4205, allocations: 4 kB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4205, allocations: 0 / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4205, allocations: 0 / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009611/0.4214, allocations: 0.7807 MB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4215, allocations: 3.938 kB / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4217, allocations: 51.91 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4217, allocations: 4 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.4217, allocations: 8 kB / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4217, allocations: 0 / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4217, allocations: 0 / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.4225, allocations: 0.4913 MB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.08e-05/0.4226, allocations: 124.6 kB / 1.084 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.4227, allocations: 8.062 kB / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.4229, allocations: 19.98 kB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.4229, allocations: 19.97 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.423, allocations: 12 kB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003155/0.4233, allocations: 291.2 kB / 1.084 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4233, allocations: 0 / 1.084 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000484/0.4238, allocations: 151.5 kB / 1.084 GB, free: 9.488 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.000181/0.424, allocations: 115.2 kB / 1.084 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000929/0.4249, allocations: 0.5649 MB / 1.085 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4249, allocations: 0 / 1.085 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.4251, allocations: 119.9 kB / 1.085 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.4256, allocations: 72.72 kB / 1.085 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.4268, allocations: 0.8021 MB / 1.086 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4272, allocations: 0.8153 MB / 1.086 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.4273, allocations: 47.27 kB / 1.086 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.4274, allocations: 35.44 kB / 1.086 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4274, allocations: 0 / 1.086 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.008607/0.4361, allocations: 4.594 MB / 1.091 GB, free: 2.297 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1)