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.001187/0.001188, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.59 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3925, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.004503/0.3971, allocations: 2.614 MB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.399, allocations: 0.931 MB / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.3994, allocations: 15.88 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.3996, allocations: 63.27 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3998, allocations: 59.39 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.4007, allocations: 323 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.4012, allocations: 0.5986 MB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004871/0.4017, allocations: 299.7 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.402, allocations: 219.2 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.4023, allocations: 226.9 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/0.4024, allocations: 68 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.4025, allocations: 79.98 kB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.4026, allocations: 119.6 kB / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.4028, allocations: 254.8 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.4036, allocations: 0.7246 MB / 1.075 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4036, allocations: 0 / 1.075 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4036, allocations: 0 / 1.075 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.4036, allocations: 0 / 1.075 GB, free: 3.852 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.001277/0.4049, allocations: 0.7776 MB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4049, allocations: 8.031 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.405, allocations: 52.38 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.4056, allocations: 380.3 kB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.4056, allocations: 33.38 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.4057, allocations: 44.38 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007158/0.4064, allocations: 438.7 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4064, allocations: 3.938 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.4065, allocations: 20 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.4065, allocations: 12 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.4071, allocations: 307.9 kB / 1.077 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.4092, allocations: 1.424 MB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.4098, allocations: 266.4 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.4101, allocations: 116.8 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.4101, allocations: 4 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.4105, allocations: 212.6 kB / 1.079 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 4.658e-06/0.4105, allocations: 7.922 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.0007574/0.4113, allocations: 334.1 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.4114, allocations: 136.5 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.4118, allocations: 413.5 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.4118, allocations: 33.7 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.412, allocations: 232.1 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.4121, allocations: 90.8 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.4122, allocations: 69.69 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4124, allocations: 354.7 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.4127, allocations: 129.1 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.4131, allocations: 194.5 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.4136, allocations: 291.5 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4136, allocations: 3.938 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007685/0.4144, allocations: 415.9 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.4145, allocations: 45.62 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4145, allocations: 4 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.4145, allocations: 0 / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.4148, allocations: 56.03 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4148, allocations: 8 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.4152, allocations: 67.48 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.4152, allocations: 19.98 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003433/0.4156, allocations: 253.9 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002686/0.4158, allocations: 188.9 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004499/0.4163, allocations: 274.3 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.4163, allocations: 4 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006709/0.417, allocations: 411.6 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.417, allocations: 41.69 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.417, allocations: 3.938 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.4171, allocations: 4 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.4173, allocations: 51.91 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4173, allocations: 4 kB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.4176, allocations: 67.83 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.4177, allocations: 15.98 kB / 1.083 GB, free: 11.25 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.00017/0.4179, allocations: 200.1 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.4179, allocations: 47.41 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006401/0.4186, allocations: 306.1 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4186, allocations: 7.938 kB / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4186, allocations: 0 / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4186, allocations: 0 / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009871/0.4196, allocations: 0.7792 MB / 1.084 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4196, allocations: 0 / 1.084 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.4198, allocations: 51.91 kB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4199, allocations: 4 kB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.4199, allocations: 8 kB / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4199, allocations: 3.938 kB / 1.084 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4199, allocations: 0 / 1.084 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.4207, allocations: 495.6 kB / 1.084 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.4208, allocations: 128.7 kB / 1.085 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.4208, allocations: 4 kB / 1.085 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.421, allocations: 15.98 kB / 1.085 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.4211, allocations: 27.91 kB / 1.085 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.4211, allocations: 8 kB / 1.085 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003059/0.4214, allocations: 291.2 kB / 1.085 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4215, allocations: 0 / 1.085 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005045/0.422, allocations: 151.5 kB / 1.085 GB, free: 8.66 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.0002115/0.4222, allocations: 115.8 kB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.4233, allocations: 0.5845 MB / 1.086 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.4233, allocations: 4 kB / 1.086 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.4236, allocations: 119.8 kB / 1.086 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.4241, allocations: 71.45 kB / 1.086 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.4254, allocations: 0.6566 MB / 1.087 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.4258, allocations: 0.8075 MB / 1.087 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.426, allocations: 55.34 kB / 1.087 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.4261, allocations: 35.42 kB / 1.087 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.4261, allocations: 0 / 1.087 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of Templates: time 0.01013/0.4363, allocations: 4.835 MB / 1.092 GB, free: 1.352 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)