Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006999/0.006999, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.118/3.118, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004167, allocations: 9.156 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4398, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.006751/0.4466, allocations: 5.494 MB / 1.08 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004703/0.4513, allocations: 1.795 MB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.4528, allocations: 35.88 kB / 1.081 GB, free: 216 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.4534, allocations: 178.3 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006648/0.4541, allocations: 146.9 kB / 1.082 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.4552, allocations: 0.5113 MB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001637/0.4568, allocations: 1.577 MB / 1.084 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.4581, allocations: 0.9516 MB / 1.085 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006283/0.4588, allocations: 369.6 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.4592, allocations: 456.7 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.392e-05/0.4593, allocations: 32 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/0.4594, allocations: 36 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.4596, allocations: 194.8 kB / 1.086 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004741/0.4601, allocations: 0.5447 MB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.4618, allocations: 2.04 MB / 1.088 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4618, allocations: 0 / 1.088 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4618, allocations: 4 kB / 1.088 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.4618, allocations: 0 / 1.088 GB, free: 9.121 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.002922/0.4647, allocations: 1.536 MB / 1.09 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4648, allocations: 8.031 kB / 1.09 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.4651, allocations: 171 kB / 1.09 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.4663, allocations: 0.8565 MB / 1.091 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.4664, allocations: 86.75 kB / 1.091 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.4666, allocations: 128.3 kB / 1.091 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.4689, allocations: 1.245 MB / 1.092 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.4689, allocations: 3.938 kB / 1.092 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.469, allocations: 51.98 kB / 1.092 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.4691, allocations: 28 kB / 1.092 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.4712, allocations: 1.001 MB / 1.093 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006319/0.4775, allocations: 4.138 MB / 1.097 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.4806, allocations: 1.323 MB / 1.098 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009186/0.4816, allocations: 0.491 MB / 1.099 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.4816, allocations: 16.56 kB / 1.099 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.4817, allocations: 47.09 kB / 1.099 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=75): time 3.947e-06/0.4817, allocations: 0 / 1.099 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75): time 0.002624/0.4843, allocations: 1.145 MB / 1.1 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.4845, allocations: 192.6 kB / 1.1 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.4859, allocations: 1.007 MB / 1.101 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.486, allocations: 49.69 kB / 1.101 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.4866, allocations: 0.6013 MB / 1.102 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.4868, allocations: 256.3 kB / 1.102 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.4869, allocations: 77.67 kB / 1.102 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4871, allocations: 341.9 kB / 1.103 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007482/0.4878, allocations: 353.8 kB / 1.103 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009693/0.4888, allocations: 0.5903 MB / 1.103 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.4904, allocations: 0.8414 MB / 1.104 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.4904, allocations: 4 kB / 1.104 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002136/0.4926, allocations: 1.039 MB / 1.105 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.4928, allocations: 220 kB / 1.106 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4928, allocations: 4 kB / 1.106 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.4928, allocations: 8 kB / 1.106 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.4936, allocations: 203.7 kB / 1.106 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.4936, allocations: 12 kB / 1.106 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/0.4945, allocations: 190.8 kB / 1.106 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.4945, allocations: 31.98 kB / 1.106 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.4946, allocations: 4 kB / 1.106 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/0.4958, allocations: 0.7459 MB / 1.107 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4959, allocations: 4 kB / 1.107 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.4959, allocations: 8 kB / 1.107 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.4965, allocations: 175.7 kB / 1.107 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4965, allocations: 16.05 kB / 1.107 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.4972, allocations: 142.9 kB / 1.107 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.4972, allocations: 35.98 kB / 1.107 GB, free: 5.137 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (boxWitPreIndDam.conCoo.con1.y,boxWitPreIndDam.conHea.con1.y,boxWitExpDam.conDam.con1.y,boxWitExpDam.conCoo.con1.y,boxWitExpDam.conHea.con1.y,boxWitPreIndDam.hysWitHol.y,$PRE.boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y,$PRE.boxWitExpDam.hysWitHol.y,boxWitPreIndDam.greThr.y,boxWitExpDam.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * 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.0007476/0.498, allocations: 368.9 kB / 1.107 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.4982, allocations: 110.6 kB / 1.108 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.5, allocations: 0.8918 MB / 1.108 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.5, allocations: 8 kB / 1.108 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5, allocations: 0 / 1.108 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5, allocations: 3.984 kB / 1.108 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.5033, allocations: 2.087 MB / 1.11 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.5033, allocations: 0 / 1.11 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/0.504, allocations: 171.8 kB / 1.111 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.504, allocations: 4 kB / 1.111 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.5041, allocations: 16 kB / 1.111 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.5041, allocations: 8 kB / 1.111 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5041, allocations: 4 kB / 1.111 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.5067, allocations: 1.384 MB / 1.112 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.5069, allocations: 207.7 kB / 1.112 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.507, allocations: 23.88 kB / 1.112 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/0.5076, allocations: 95.92 kB / 1.112 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.5077, allocations: 52.56 kB / 1.112 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.5078, allocations: 31.98 kB / 1.112 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000991/0.5088, allocations: 0.6875 MB / 1.113 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5088, allocations: 0 / 1.113 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00116/0.51, allocations: 402.2 kB / 1.113 GB, free: 14.49 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (boxWitExpDam.conHea.I.y,boxWitExpDam.conCoo.I.y,boxWitExpDam.conDam.I.y,boxWitPreIndDam.conHea.I.y,boxWitPreIndDam.conCoo.I.y) * Number of discrete variables: 2 (boxWitExpDam.hysWitHol.y,boxWitPreIndDam.hysWitHol.y) * Number of discrete states: 2 (boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002597/0.5102, allocations: 139 kB / 1.114 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002636/0.5129, allocations: 1.232 MB / 1.115 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5129, allocations: 0 / 1.115 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/0.5137, allocations: 420.4 kB / 1.115 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.5149, allocations: 226.2 kB / 1.115 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.5187, allocations: 2.51 MB / 1.118 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007128/0.5194, allocations: 1.1 MB / 1.119 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006055/0.52, allocations: 135.9 kB / 1.119 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.5203, allocations: 79.42 kB / 1.119 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of SimCode: time 1.543e-06/0.5203, allocations: 0 / 1.119 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of Templates: time 0.02205/0.5423, allocations: 10.89 MB / 1.13 GB, free: 13.83 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)