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.357/2.357, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.0009708/0.0009708, allocations: 165 kB / 492.3 MB, free: 0.6289 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.612/1.612, allocations: 221.3 MB / 0.7872 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008935, allocations: 89.59 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.085e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3344, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9158/1.25, allocations: 155.2 MB / 1.364 GB, free: 19.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/1.251, allocations: 78.39 kB / 1.364 GB, free: 19.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0325/1.283, allocations: 14 MB / 1.378 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.605e-06/1.283, allocations: 0 / 1.378 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.961e-05/1.283, allocations: 23.38 kB / 1.378 GB, free: 33.4 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.001642/1.285, allocations: 0.9841 MB / 1.379 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.285, allocations: 7.719 kB / 1.379 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/1.285, allocations: 97.56 kB / 1.379 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/1.286, allocations: 496.3 kB / 1.379 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/1.286, allocations: 56.69 kB / 1.379 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/1.286, allocations: 71.84 kB / 1.379 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/1.287, allocations: 0.5742 MB / 1.38 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/1.287, allocations: 0 / 1.38 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/1.287, allocations: 38.05 kB / 1.38 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/1.287, allocations: 19.58 kB / 1.38 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/1.288, allocations: 499.2 kB / 1.38 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/1.29, allocations: 1.982 MB / 1.382 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000904/1.291, allocations: 0.5084 MB / 1.383 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/1.292, allocations: 238.9 kB / 1.383 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/1.292, allocations: 15.19 kB / 1.383 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/1.292, allocations: 357.7 kB / 1.383 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 1.824e-06/1.292, allocations: 0 / 1.383 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.0007247/1.293, allocations: 488.4 kB / 1.384 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/1.293, allocations: 247.5 kB / 1.384 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/1.294, allocations: 497.6 kB / 1.385 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/1.294, allocations: 48.05 kB / 1.385 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.294, allocations: 307.7 kB / 1.385 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/1.294, allocations: 180.9 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/1.294, allocations: 14.19 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.294, allocations: 372.7 kB / 1.386 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/1.294, allocations: 161.3 kB / 1.386 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/1.295, allocations: 335.4 kB / 1.386 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/1.295, allocations: 194.6 kB / 1.386 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.295, allocations: 0 / 1.386 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000673/1.296, allocations: 0.524 MB / 1.387 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.296, allocations: 453.9 kB / 1.387 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.296, allocations: 4 kB / 1.387 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.296, allocations: 7.797 kB / 1.387 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/1.296, allocations: 127.3 kB / 1.387 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.296, allocations: 3.875 kB / 1.387 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/1.297, allocations: 149.8 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/1.297, allocations: 15.12 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/1.297, allocations: 7.438 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005717/1.298, allocations: 438.7 kB / 1.388 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/1.298, allocations: 7.812 kB / 1.388 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/1.298, allocations: 3.844 kB / 1.388 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/1.298, allocations: 110.8 kB / 1.388 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/1.298, allocations: 15.77 kB / 1.388 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/1.298, allocations: 122.4 kB / 1.388 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/1.298, allocations: 21.16 kB / 1.388 GB, free: 28.73 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.0001592/1.299, allocations: 151.6 kB / 1.388 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/1.299, allocations: 65.12 kB / 1.388 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007957/1.299, allocations: 0.5568 MB / 1.389 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.3, allocations: 11.8 kB / 1.389 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.3, allocations: 4 kB / 1.389 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/1.3, allocations: 0 / 1.389 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/1.302, allocations: 1.731 MB / 1.391 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.302, allocations: 4.531 kB / 1.391 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/1.302, allocations: 126.9 kB / 1.391 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/1.302, allocations: 7.812 kB / 1.391 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/1.302, allocations: 18.34 kB / 1.391 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/1.302, allocations: 15.61 kB / 1.391 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.302, allocations: 3.906 kB / 1.391 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/1.303, allocations: 1.033 MB / 1.392 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/1.303, allocations: 219.3 kB / 1.392 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/1.303, allocations: 20.75 kB / 1.392 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/1.304, allocations: 75.09 kB / 1.392 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.304, allocations: 68.69 kB / 1.392 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/1.304, allocations: 30.39 kB / 1.392 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003534/1.304, allocations: 389.5 kB / 1.392 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.304, allocations: 0 / 1.392 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006745/1.305, allocations: 249.4 kB / 1.393 GB, free: 26.44 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.0003744/1.305, allocations: 208.6 kB / 1.393 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009756/1.306, allocations: 0.6995 MB / 1.394 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.306, allocations: 2.812 kB / 1.394 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/1.307, allocations: 282.7 kB / 1.394 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/1.307, allocations: 114 kB / 1.394 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/1.309, allocations: 0.9617 MB / 1.395 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/1.309, allocations: 0.9238 MB / 1.396 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004501/1.31, allocations: 125.1 kB / 1.396 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/1.31, allocations: 57.42 kB / 1.396 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/1.31, allocations: 4 kB / 1.396 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of Templates: time 0.01198/1.322, allocations: 8.379 MB / 1.404 GB, free: 18.96 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)