Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.256/2.256, allocations: 390.5 MB / 398 MB, free: 10.93 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.001171/0.001171, allocations: 172.8 kB / 491.2 MB, free: 1.57 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.649/1.649, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.00096/0.0009601, allocations: 87.95 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.525e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2962, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9554/1.252, allocations: 156.1 MB / 1.365 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/1.252, allocations: 76.22 kB / 1.365 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03724/1.289, allocations: 15.31 MB / 1.38 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/1.289, allocations: 4 kB / 1.38 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.802e-05/1.289, allocations: 19.34 kB / 1.38 GB, free: 31.17 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001975/1.291, allocations: 1.082 MB / 1.381 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.291, allocations: 7.594 kB / 1.381 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/1.292, allocations: 100.7 kB / 1.381 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.293, allocations: 0.5932 MB / 1.382 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/1.293, allocations: 26.94 kB / 1.382 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/1.293, allocations: 46.28 kB / 1.382 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007881/1.294, allocations: 491.2 kB / 1.382 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/1.294, allocations: 0.5192 MB / 1.383 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/1.294, allocations: 0 / 1.383 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/1.294, allocations: 3.875 kB / 1.383 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/1.295, allocations: 19.52 kB / 1.383 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/1.298, allocations: 1.893 MB / 1.384 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/1.299, allocations: 455 kB / 1.385 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/1.299, allocations: 181.4 kB / 1.385 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/1.299, allocations: 15.8 kB / 1.385 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/1.299, allocations: 326.5 kB / 1.385 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.034e-06/1.299, allocations: 3.938 kB / 1.385 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.000702/1.3, allocations: 435.2 kB / 1.386 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/1.3, allocations: 222 kB / 1.386 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/1.301, allocations: 391.5 kB / 1.386 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/1.301, allocations: 33.61 kB / 1.386 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/1.301, allocations: 377.2 kB / 1.387 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/1.301, allocations: 172.8 kB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/1.301, allocations: 3.938 kB / 1.387 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.301, allocations: 367.2 kB / 1.387 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/1.301, allocations: 161.5 kB / 1.387 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/1.302, allocations: 335.3 kB / 1.388 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/1.302, allocations: 192 kB / 1.388 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.302, allocations: 0 / 1.388 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006699/1.303, allocations: 0.5066 MB / 1.388 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002732/1.303, allocations: 0.6196 MB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.303, allocations: 0 / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.303, allocations: 3.844 kB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/1.304, allocations: 131.7 kB / 1.389 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.304, allocations: 7.562 kB / 1.389 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/1.304, allocations: 92.36 kB / 1.389 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/1.304, allocations: 18.97 kB / 1.389 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/1.304, allocations: 3.906 kB / 1.389 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000582/1.305, allocations: 425.5 kB / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/1.305, allocations: 4 kB / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/1.305, allocations: 15.69 kB / 1.39 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/1.305, allocations: 120.4 kB / 1.39 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.305, allocations: 7.812 kB / 1.39 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/1.306, allocations: 77.56 kB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/1.306, allocations: 25.86 kB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($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,$PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001559/1.306, allocations: 130.2 kB / 1.39 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/1.306, allocations: 62.12 kB / 1.39 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007942/1.307, allocations: 0.5601 MB / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.307, allocations: 7.094 kB / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.307, allocations: 0 / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/1.307, allocations: 3.984 kB / 1.391 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/1.309, allocations: 1.4 MB / 1.392 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/1.309, allocations: 3.844 kB / 1.392 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/1.309, allocations: 119.6 kB / 1.392 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/1.309, allocations: 7.5 kB / 1.392 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/1.309, allocations: 7.688 kB / 1.392 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/1.309, allocations: 7.656 kB / 1.392 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.309, allocations: 3.906 kB / 1.392 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/1.31, allocations: 1.056 MB / 1.393 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/1.31, allocations: 195.3 kB / 1.393 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/1.31, allocations: 14.61 kB / 1.393 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/1.311, allocations: 66.39 kB / 1.394 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.311, allocations: 67.5 kB / 1.394 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/1.311, allocations: 26.05 kB / 1.394 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002837/1.311, allocations: 302.3 kB / 1.394 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.311, allocations: 7.844 kB / 1.394 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007732/1.312, allocations: 276.9 kB / 1.394 GB, free: 24.22 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 1 (setPoiVAV.ramLim.y) * Number of discrete variables: 13 (scaYFan.sampleTrigger,scaTem.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.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * 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.0004742/1.313, allocations: 194.2 kB / 1.394 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.314, allocations: 0.6823 MB / 1.395 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.314, allocations: 0.625 kB / 1.395 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/1.314, allocations: 252.9 kB / 1.395 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/1.315, allocations: 125.5 kB / 1.395 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/1.317, allocations: 0.9423 MB / 1.396 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/1.317, allocations: 0.9532 MB / 1.397 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005247/1.318, allocations: 129.7 kB / 1.397 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.318, allocations: 52.95 kB / 1.397 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.318, allocations: 0 / 1.397 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.01565/1.333, allocations: 8.479 MB / 1.406 GB, free: 17.39 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)