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.329/1.329, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 175.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.001028/0.001028, allocations: 96.59 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 12.75 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.4243, allocations: 137.8 MB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4246, allocations: 75.97 kB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03609/0.4607, allocations: 13.97 MB / 1.048 GB, free: 7.887 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4608, allocations: 0 / 1.048 GB, free: 7.887 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.721e-05/0.4608, allocations: 19.94 kB / 1.048 GB, free: 7.867 MB / 0.698 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.001961/0.4628, allocations: 1.085 MB / 1.049 GB, free: 6.719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.4628, allocations: 8.031 kB / 1.049 GB, free: 6.711 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.463, allocations: 90.92 kB / 1.05 GB, free: 6.621 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.4639, allocations: 0.4887 MB / 1.05 GB, free: 6.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.4639, allocations: 49.31 kB / 1.05 GB, free: 6.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.464, allocations: 64 kB / 1.05 GB, free: 5.977 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4652, allocations: 0.6233 MB / 1.051 GB, free: 5.348 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4652, allocations: 0 / 1.051 GB, free: 5.348 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.4653, allocations: 28 kB / 1.051 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.4653, allocations: 15.95 kB / 1.051 GB, free: 5.305 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.4665, allocations: 0.6064 MB / 1.051 GB, free: 4.699 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.4697, allocations: 1.949 MB / 1.053 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4708, allocations: 0.5326 MB / 1.054 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.4709, allocations: 16.42 kB / 1.054 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006808/0.4716, allocations: 402.8 kB / 1.054 GB, free: 1.703 MB / 0.698 GB Notification: Performance of pre-optimization done (n=55): time 1.923e-06/0.4716, allocations: 0 / 1.054 GB, free: 1.703 MB / 0.698 GB Notification: Performance of matching and sorting (n=55): time 0.001546/0.4731, allocations: 0.7753 MB / 1.055 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.4733, allocations: 243.9 kB / 1.055 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.474, allocations: 0.5425 MB / 1.056 GB, free: 84 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.474, allocations: 37.7 kB / 1.056 GB, free: 40 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.5373/1.011, allocations: 320.2 kB / 1.056 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/1.012, allocations: 164.6 kB / 1.056 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/1.012, allocations: 11.16 kB / 1.056 GB, free: 145.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.012, allocations: 379.5 kB / 1.057 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/1.012, allocations: 226.7 kB / 1.057 GB, free: 145.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/1.013, allocations: 394 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/1.014, allocations: 254.5 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/1.014, allocations: 0 / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001243/1.015, allocations: 0.638 MB / 1.058 GB, free: 145.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.015, allocations: 456.5 kB / 1.058 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.015, allocations: 2.969 kB / 1.058 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.015, allocations: 3.062 kB / 1.058 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/1.016, allocations: 118.5 kB / 1.059 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/1.016, allocations: 2.844 kB / 1.059 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/1.016, allocations: 146.5 kB / 1.059 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/1.016, allocations: 20.5 kB / 1.059 GB, free: 144.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/1.016, allocations: 3.375 kB / 1.059 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008993/1.017, allocations: 0.4935 MB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/1.017, allocations: 2.781 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/1.017, allocations: 6.031 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/1.018, allocations: 99.23 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.018, allocations: 11.36 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/1.018, allocations: 121 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/1.018, allocations: 15.75 kB / 1.059 GB, free: 144.8 MB / 0.698 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 () * Number of clocked 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.0003415/1.019, allocations: 282.2 kB / 1.06 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/1.019, allocations: 74.12 kB / 1.06 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/1.02, allocations: 0.6611 MB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.02, allocations: 5.906 kB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.02, allocations: 3.953 kB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/1.02, allocations: 3.234 kB / 1.06 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/1.023, allocations: 1.787 MB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.023, allocations: 6.484 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/1.023, allocations: 110.5 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/1.023, allocations: 7.812 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/1.023, allocations: 22.86 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/1.024, allocations: 8.609 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.575e-05/1.024, allocations: 15.17 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/1.025, allocations: 1.071 MB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/1.025, allocations: 213.5 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/1.025, allocations: 21.59 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/1.026, allocations: 76.52 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.026, allocations: 59.88 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/1.026, allocations: 33.61 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006214/1.027, allocations: 434.2 kB / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.027, allocations: 7.562 kB / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009454/1.028, allocations: 252.7 kB / 1.064 GB, free: 143.1 MB / 0.698 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 () * Number of clocked 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.0005592/1.028, allocations: 195.4 kB / 1.065 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001964/1.03, allocations: 0.8061 MB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.03, allocations: 1 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/1.031, allocations: 319.2 kB / 1.066 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/1.032, allocations: 114.4 kB / 1.066 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/1.034, allocations: 1.439 MB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/1.035, allocations: 0.9243 MB / 1.068 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005451/1.035, allocations: 108.5 kB / 1.068 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/1.036, allocations: 64.72 kB / 1.068 GB, free: 141.3 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/1.036, allocations: 4.781 kB / 1.068 GB, free: 141.3 MB / 0.698 GB Notification: Performance of Templates: time 0.01819/1.054, allocations: 7.535 MB / 1.076 GB, free: 140.9 MB / 0.698 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)