Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 176.8 kB / 487.4 MB, free: 5.02 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009186, allocations: 87.97 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.71e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2741, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9504/1.225, allocations: 154.5 MB / 1.357 GB, free: 18.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.225, allocations: 76.19 kB / 1.357 GB, free: 18.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03258/1.257, allocations: 13.94 MB / 1.371 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.614e-06/1.258, allocations: 7.781 kB / 1.371 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.934e-05/1.258, allocations: 23.12 kB / 1.371 GB, free: 32.93 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002016/1.26, allocations: 0.9829 MB / 1.372 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.26, allocations: 7.812 kB / 1.372 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/1.26, allocations: 93.05 kB / 1.372 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/1.261, allocations: 488.9 kB / 1.372 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/1.261, allocations: 23.03 kB / 1.372 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.261, allocations: 45.97 kB / 1.372 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008206/1.262, allocations: 467.8 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/1.263, allocations: 498.2 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/1.263, allocations: 0 / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/1.263, allocations: 3.953 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/1.263, allocations: 15.38 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/1.266, allocations: 1.807 MB / 1.375 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008605/1.267, allocations: 488.8 kB / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/1.267, allocations: 218.8 kB / 1.376 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/1.267, allocations: 19.89 kB / 1.376 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/1.267, allocations: 331.4 kB / 1.376 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 2.404e-06/1.267, allocations: 3.938 kB / 1.376 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.0006697/1.268, allocations: 440.8 kB / 1.376 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.268, allocations: 243.1 kB / 1.377 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/1.269, allocations: 322.3 kB / 1.377 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/1.269, allocations: 29.58 kB / 1.377 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/1.269, allocations: 321.9 kB / 1.377 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/1.269, allocations: 180 kB / 1.377 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/1.269, allocations: 0 / 1.377 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.269, allocations: 358.4 kB / 1.378 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/1.269, allocations: 149.8 kB / 1.378 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/1.27, allocations: 314.8 kB / 1.378 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/1.27, allocations: 186.8 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.27, allocations: 0 / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006288/1.271, allocations: 479.7 kB / 1.379 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/1.271, allocations: 451.6 kB / 1.379 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.271, allocations: 0 / 1.379 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.271, allocations: 3.812 kB / 1.379 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/1.271, allocations: 131.5 kB / 1.379 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.271, allocations: 7.766 kB / 1.379 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/1.272, allocations: 112.9 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/1.272, allocations: 22.52 kB / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/1.272, allocations: 3.844 kB / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005118/1.272, allocations: 383.8 kB / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/1.272, allocations: 0 / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/1.272, allocations: 3.875 kB / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/1.273, allocations: 117.4 kB / 1.38 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.273, allocations: 3.906 kB / 1.38 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/1.273, allocations: 85.75 kB / 1.38 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/1.273, allocations: 15.03 kB / 1.38 GB, free: 28.94 MB / 0.8386 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 (69): * Single equations (assignments): 69 * 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.0001503/1.274, allocations: 119.3 kB / 1.38 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/1.274, allocations: 66.19 kB / 1.38 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000717/1.274, allocations: 0.5079 MB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.274, allocations: 7.828 kB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.274, allocations: 4 kB / 1.381 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.274, allocations: 7.797 kB / 1.381 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/1.276, allocations: 1.57 MB / 1.382 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.276, allocations: 7.656 kB / 1.382 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/1.277, allocations: 118.9 kB / 1.382 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/1.277, allocations: 12.11 kB / 1.382 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/1.277, allocations: 11.72 kB / 1.382 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/1.277, allocations: 11.75 kB / 1.382 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.277, allocations: 7.688 kB / 1.382 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007993/1.278, allocations: 0.9779 MB / 1.383 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/1.278, allocations: 200.7 kB / 1.384 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/1.278, allocations: 7.719 kB / 1.384 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/1.278, allocations: 66.44 kB / 1.384 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.278, allocations: 64.09 kB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/1.278, allocations: 29.81 kB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002226/1.279, allocations: 250.5 kB / 1.384 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.279, allocations: 0 / 1.384 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007201/1.279, allocations: 259.2 kB / 1.384 GB, free: 26.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 63 * 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.0004267/1.28, allocations: 194.9 kB / 1.384 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008927/1.281, allocations: 0.6324 MB / 1.385 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.281, allocations: 4.25 kB / 1.385 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/1.281, allocations: 273.8 kB / 1.385 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/1.282, allocations: 82.84 kB / 1.385 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/1.283, allocations: 0.9144 MB / 1.386 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/1.284, allocations: 0.9262 MB / 1.387 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004189/1.284, allocations: 111.3 kB / 1.387 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/1.284, allocations: 45.67 kB / 1.387 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.284, allocations: 0 / 1.387 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.01153/1.296, allocations: 7.081 MB / 1.394 GB, free: 21.65 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)