Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.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.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 95.38 kB / 15.37 MB, free: 0.7266 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.006609/0.006609, allocations: 177.8 kB / 16.27 MB, free: 6.34 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.406/1.406, 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 2.814/2.814, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 13.78 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3508, allocations: 162.1 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.004448/0.3553, allocations: 3.331 MB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.3583, allocations: 1.361 MB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005492/0.3588, allocations: 23.88 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.3592, allocations: 83.22 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.3597, allocations: 143.1 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.3606, allocations: 431.1 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008697/0.3614, allocations: 0.9572 MB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006246/0.3621, allocations: 431.6 kB / 1.081 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.3624, allocations: 294.4 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04572/0.4081, allocations: 3.283 MB / 1.084 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.4083, allocations: 28 kB / 1.084 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.4085, allocations: 51.98 kB / 1.084 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.4087, allocations: 127.3 kB / 1.084 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.4091, allocations: 375.3 kB / 1.085 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.4101, allocations: 1.199 MB / 1.086 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4101, allocations: 4 kB / 1.086 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4101, allocations: 0 / 1.086 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.4101, allocations: 0 / 1.086 GB, free: 12.13 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001975/0.4121, allocations: 1.093 MB / 1.087 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4122, allocations: 8.031 kB / 1.087 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.4123, allocations: 103.7 kB / 1.087 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.4132, allocations: 0.5966 MB / 1.088 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/0.4132, allocations: 58 kB / 1.088 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.4134, allocations: 83.91 kB / 1.088 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.4147, allocations: 0.6868 MB / 1.088 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.4147, allocations: 0 / 1.088 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.4148, allocations: 35.94 kB / 1.089 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.4148, allocations: 16 kB / 1.089 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.4161, allocations: 0.6169 MB / 1.089 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.4197, allocations: 2.146 MB / 1.091 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000874/0.4206, allocations: 430.3 kB / 1.092 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/0.4211, allocations: 218.1 kB / 1.092 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.4211, allocations: 16.36 kB / 1.092 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006889/0.4218, allocations: 360.2 kB / 1.092 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=52): time 2.264e-06/0.4218, allocations: 0 / 1.092 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of matching and sorting (n=52): time 0.001667/0.4235, allocations: 0.6855 MB / 1.093 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.4237, allocations: 222 kB / 1.093 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/0.4244, allocations: 0.6252 MB / 1.094 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.4244, allocations: 41.7 kB / 1.094 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.4247, allocations: 383.9 kB / 1.094 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.4249, allocations: 169.7 kB / 1.094 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.425, allocations: 69.67 kB / 1.094 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4251, allocations: 382.8 kB / 1.095 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.4256, allocations: 209.9 kB / 1.095 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007524/0.4264, allocations: 480.8 kB / 1.095 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.4275, allocations: 0.5573 MB / 1.096 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4275, allocations: 3.938 kB / 1.096 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00138/0.4289, allocations: 0.6977 MB / 1.097 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.429, allocations: 214.2 kB / 1.097 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.429, allocations: 4 kB / 1.097 GB, free: 456 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4291, allocations: 8 kB / 1.097 GB, free: 448 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.4296, allocations: 135.8 kB / 1.097 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.4296, allocations: 11.94 kB / 1.097 GB, free: 300 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.4302, allocations: 127.1 kB / 1.097 GB, free: 172 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.4303, allocations: 28 kB / 1.097 GB, free: 144 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.4303, allocations: 4 kB / 1.097 GB, free: 140 kB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001171/0.4315, allocations: 0.5961 MB / 1.098 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4315, allocations: 7.938 kB / 1.098 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.4315, allocations: 8 kB / 1.098 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/0.4325, allocations: 127.8 kB / 1.098 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4325, allocations: 11.94 kB / 1.098 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.4331, allocations: 111.3 kB / 1.098 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.4331, allocations: 24 kB / 1.098 GB, free: 15.26 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 (scaYFan.sampleTrigger,scaYFan.tActivateLast,$PRE.scaYFan.tActivateLast,scaYFan.active,scaTem.sampleTrigger,scaTem.tActivateLast,$PRE.scaTem.tActivateLast,scaTem.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,setPoiVAV.fanSpe.u2,setPoiVAV.isUnoMod.y,setPoiVAV.not1.u,opeMod.y,setPoiVAV.unoMod.y,plotConfiguration.activate_internal,setPoiVAV.y1SupFan,setPoiVAV.gre.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.heaSta.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003919/0.4335, allocations: 299.5 kB / 1.098 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.4336, allocations: 86.92 kB / 1.098 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.435, allocations: 0.6282 MB / 1.099 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.435, allocations: 8 kB / 1.099 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.435, allocations: 0 / 1.099 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.435, allocations: 3.984 kB / 1.099 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.4375, allocations: 1.533 MB / 1.1 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4375, allocations: 0 / 1.1 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.4379, allocations: 103.8 kB / 1.101 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.438, allocations: 4 kB / 1.101 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.438, allocations: 27.92 kB / 1.101 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.438, allocations: 8.312 kB / 1.101 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.438, allocations: 4 kB / 1.101 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.4398, allocations: 0.9894 MB / 1.102 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.44, allocations: 207.9 kB / 1.102 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.4401, allocations: 27.94 kB / 1.102 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.4406, allocations: 63.64 kB / 1.102 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4407, allocations: 63.78 kB / 1.102 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.4408, allocations: 31.98 kB / 1.102 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004918/0.4413, allocations: 431.1 kB / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4413, allocations: 0 / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000865/0.4422, allocations: 283.1 kB / 1.103 GB, free: 10.29 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (setPoiVAV.ramLim.y) * Number of discrete variables: 13 (scaTem.sampleTrigger,scaYFan.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast,setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Number of discrete states: 2 (setPoiVAV.gre.greHys.y,setPoiVAV.heaSta.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003898/0.4426, allocations: 198.8 kB / 1.103 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.4445, allocations: 0.8613 MB / 1.104 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4445, allocations: 0 / 1.104 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.4451, allocations: 288.8 kB / 1.104 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.4463, allocations: 146.2 kB / 1.104 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.4488, allocations: 1.583 MB / 1.106 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.4493, allocations: 0.9394 MB / 1.107 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004773/0.4498, allocations: 117.6 kB / 1.107 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.4499, allocations: 71.41 kB / 1.107 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.4499, allocations: 4 kB / 1.107 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of Templates: time 0.01749/0.4674, allocations: 8.72 MB / 1.115 GB, free: 13.39 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)