Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001197/0.001197, allocations: 91.84 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.01206/0.01206, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 8.312 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3909, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.005402/0.3964, allocations: 3.331 MB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0033/0.3997, allocations: 1.369 MB / 1.079 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004982/0.4003, allocations: 19.88 kB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.4006, allocations: 67.31 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.4011, allocations: 151.1 kB / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009134/0.402, allocations: 430.9 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.4031, allocations: 0.9571 MB / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006627/0.4038, allocations: 427.6 kB / 1.081 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.4041, allocations: 286.5 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04397/0.4481, allocations: 3.292 MB / 1.084 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.4484, allocations: 28 kB / 1.084 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.4486, allocations: 51.98 kB / 1.084 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.4487, allocations: 127.3 kB / 1.084 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.4491, allocations: 367.4 kB / 1.085 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.4503, allocations: 1.202 MB / 1.086 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4503, allocations: 0 / 1.086 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4503, allocations: 0 / 1.086 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.4503, allocations: 0 / 1.086 GB, free: 12.2 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.002093/0.4524, allocations: 1.101 MB / 1.087 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4525, allocations: 8.031 kB / 1.087 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.4527, allocations: 103.7 kB / 1.087 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.4536, allocations: 0.5966 MB / 1.088 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.4537, allocations: 58 kB / 1.088 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4538, allocations: 83.91 kB / 1.088 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.4553, allocations: 0.6829 MB / 1.088 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.4553, allocations: 0 / 1.088 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.4554, allocations: 32 kB / 1.088 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4554, allocations: 16 kB / 1.089 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.4568, allocations: 0.6208 MB / 1.089 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.4613, allocations: 2.142 MB / 1.091 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009551/0.4622, allocations: 426.3 kB / 1.092 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.4628, allocations: 230 kB / 1.092 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.359e-05/0.4628, allocations: 12.36 kB / 1.092 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007306/0.4636, allocations: 360.2 kB / 1.092 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=52): time 1.843e-06/0.4636, allocations: 0 / 1.092 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of matching and sorting (n=52): time 0.001737/0.4653, allocations: 0.6894 MB / 1.093 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/0.4655, allocations: 214.1 kB / 1.093 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008977/0.4664, allocations: 0.6291 MB / 1.094 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.913e-05/0.4665, allocations: 45.7 kB / 1.094 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.467, allocations: 387.9 kB / 1.094 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.4672, allocations: 161.7 kB / 1.094 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.4673, allocations: 73.67 kB / 1.094 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002938/0.4676, allocations: 374.8 kB / 1.095 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.4682, allocations: 217.9 kB / 1.095 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/0.4691, allocations: 472.8 kB / 1.095 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.4705, allocations: 0.5602 MB / 1.096 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.4705, allocations: 0 / 1.096 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001626/0.4721, allocations: 0.6981 MB / 1.097 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002581/0.4724, allocations: 214.4 kB / 1.097 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.4724, allocations: 8 kB / 1.097 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.4725, allocations: 8 kB / 1.097 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.4731, allocations: 135.8 kB / 1.097 GB, free: 368 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.4731, allocations: 15.92 kB / 1.097 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.4737, allocations: 119.1 kB / 1.097 GB, free: 232 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.4738, allocations: 31.98 kB / 1.097 GB, free: 200 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.4738, allocations: 4 kB / 1.097 GB, free: 196 kB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/0.4749, allocations: 0.5961 MB / 1.098 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4749, allocations: 7.938 kB / 1.098 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.475, allocations: 8 kB / 1.098 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.4754, allocations: 127.8 kB / 1.098 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.4754, allocations: 11.94 kB / 1.098 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.476, allocations: 110.7 kB / 1.098 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.476, allocations: 28 kB / 1.098 GB, free: 15.31 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.0004226/0.4764, allocations: 307.4 kB / 1.098 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.4765, allocations: 75 kB / 1.098 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.478, allocations: 0.6243 MB / 1.099 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.478, allocations: 8 kB / 1.099 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.478, allocations: 0 / 1.099 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.478, allocations: 7.922 kB / 1.099 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.4805, allocations: 1.541 MB / 1.1 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.4805, allocations: 3.984 kB / 1.1 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.481, allocations: 108.2 kB / 1.101 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.481, allocations: 12 kB / 1.101 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.481, allocations: 12 kB / 1.101 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.481, allocations: 11.92 kB / 1.101 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4811, allocations: 4 kB / 1.101 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.483, allocations: 0.9894 MB / 1.102 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.4833, allocations: 207.9 kB / 1.102 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/0.4834, allocations: 28.05 kB / 1.102 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.4838, allocations: 55.89 kB / 1.102 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.4839, allocations: 63.8 kB / 1.102 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.484, allocations: 27.98 kB / 1.102 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004847/0.4845, allocations: 435.1 kB / 1.102 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4845, allocations: 0 / 1.102 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008278/0.4853, allocations: 283 kB / 1.103 GB, free: 10.34 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.0003827/0.4857, allocations: 197.7 kB / 1.103 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.4875, allocations: 0.8644 MB / 1.104 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4876, allocations: 0 / 1.104 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006301/0.4882, allocations: 289.6 kB / 1.104 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4893, allocations: 146.8 kB / 1.104 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.4916, allocations: 1.591 MB / 1.106 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.492, allocations: 0.9316 MB / 1.107 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004966/0.4926, allocations: 125.6 kB / 1.107 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.4927, allocations: 67.42 kB / 1.107 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.4927, allocations: 0 / 1.107 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of Templates: time 0.01575/0.5085, allocations: 8.709 MB / 1.115 GB, free: 13.45 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)