Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.1 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 89.3 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.678e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2442, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8287/1.073, allocations: 137.7 MB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/1.073, allocations: 79.7 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03665/1.11, allocations: 13.93 MB / 1.04 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.435e-06/1.11, allocations: 0 / 1.04 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.645e-05/1.11, allocations: 19.98 kB / 1.04 GB, free: 1.191 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00178/1.112, allocations: 0.9985 MB / 1.041 GB, free: 184 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.112, allocations: 8.031 kB / 1.041 GB, free: 176 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/1.112, allocations: 94.92 kB / 1.041 GB, free: 80 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/1.113, allocations: 496.6 kB / 1.042 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/1.113, allocations: 53.31 kB / 1.042 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/1.113, allocations: 70.06 kB / 1.042 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/1.114, allocations: 0.5511 MB / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.114, allocations: 0 / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/1.114, allocations: 28.75 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/1.114, allocations: 19.95 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/1.115, allocations: 484.8 kB / 1.043 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/1.119, allocations: 1.953 MB / 1.045 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/1.119, allocations: 461.9 kB / 1.045 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/1.12, allocations: 190 kB / 1.045 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/1.12, allocations: 8.438 kB / 1.045 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/1.12, allocations: 357.7 kB / 1.046 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=55): time 2.354e-06/1.12, allocations: 0 / 1.046 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55): time 0.0008492/1.121, allocations: 478 kB / 1.046 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.121, allocations: 243.2 kB / 1.046 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/1.122, allocations: 0.5266 MB / 1.047 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/1.122, allocations: 39.64 kB / 1.047 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/1.122, allocations: 320 kB / 1.047 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.122, allocations: 178.3 kB / 1.047 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/1.122, allocations: 11 kB / 1.047 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.123, allocations: 376.3 kB / 1.048 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/1.123, allocations: 160.3 kB / 1.048 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/1.123, allocations: 332.7 kB / 1.048 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/1.124, allocations: 189.9 kB / 1.048 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.124, allocations: 0 / 1.048 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007856/1.124, allocations: 0.5115 MB / 1.049 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/1.125, allocations: 457.2 kB / 1.049 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/1.125, allocations: 0 / 1.049 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.125, allocations: 4 kB / 1.049 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/1.125, allocations: 119.4 kB / 1.049 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.125, allocations: 4 kB / 1.049 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/1.126, allocations: 144.8 kB / 1.049 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/1.126, allocations: 19.38 kB / 1.05 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.126, allocations: 7.953 kB / 1.05 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000682/1.127, allocations: 429 kB / 1.05 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/1.127, allocations: 4.094 kB / 1.05 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/1.127, allocations: 4 kB / 1.05 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/1.127, allocations: 107.2 kB / 1.05 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/1.127, allocations: 4 kB / 1.05 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/1.128, allocations: 121.6 kB / 1.05 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/1.128, allocations: 19.56 kB / 1.05 GB, free: 8.715 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/1.128, allocations: 142.3 kB / 1.05 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.128, allocations: 79.02 kB / 1.05 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009893/1.129, allocations: 0.5577 MB / 1.051 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.129, allocations: 8 kB / 1.051 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.129, allocations: 0 / 1.051 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.129, allocations: 3.984 kB / 1.051 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/1.132, allocations: 1.702 MB / 1.053 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.132, allocations: 4 kB / 1.053 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/1.132, allocations: 110.8 kB / 1.053 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.132, allocations: 8 kB / 1.053 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/1.132, allocations: 17.94 kB / 1.053 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.132, allocations: 8 kB / 1.053 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/1.132, allocations: 19.98 kB / 1.053 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/1.133, allocations: 0.9859 MB / 1.054 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/1.134, allocations: 209.5 kB / 1.054 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/1.134, allocations: 20.98 kB / 1.054 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/1.134, allocations: 74.69 kB / 1.054 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/1.134, allocations: 66.33 kB / 1.054 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/1.134, allocations: 27.61 kB / 1.054 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004803/1.135, allocations: 413.2 kB / 1.055 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.135, allocations: 4 kB / 1.055 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008012/1.136, allocations: 251.8 kB / 1.055 GB, free: 4.711 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005315/1.136, allocations: 189.8 kB / 1.055 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001214/1.138, allocations: 0.6867 MB / 1.056 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.138, allocations: 4 kB / 1.056 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004699/1.138, allocations: 266.9 kB / 1.056 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/1.139, allocations: 125.8 kB / 1.056 GB, free: 3.812 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/1.14, allocations: 0.9457 MB / 1.057 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/1.141, allocations: 0.9291 MB / 1.058 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00052/1.141, allocations: 135.8 kB / 1.058 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/1.142, allocations: 47 kB / 1.058 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of SimCode: time 8.32e-07/1.142, allocations: 0 / 1.058 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of Templates: time 0.01591/1.158, allocations: 8.598 MB / 1.066 GB, free: 9.246 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)