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.532/1.532, allocations: 249.5 MB / 257 MB, free: 6.852 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.001265/0.001265, allocations: 187.7 kB / 316.3 MB, free: 3.215 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.912/1.912, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008364/0.0008365, allocations: 81.42 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.902e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2334, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8909/1.124, allocations: 138 MB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.125, allocations: 73.64 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03713/1.162, allocations: 13.87 MB / 1.034 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.087e-06/1.162, allocations: 0 / 1.034 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.883e-05/1.162, allocations: 23.94 kB / 1.034 GB, free: 4.23 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.001874/1.164, allocations: 1.009 MB / 1.035 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/1.164, allocations: 8.031 kB / 1.035 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/1.164, allocations: 90.92 kB / 1.035 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/1.165, allocations: 493.2 kB / 1.035 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/1.165, allocations: 24 kB / 1.035 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/1.165, allocations: 40 kB / 1.035 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008572/1.166, allocations: 453.5 kB / 1.036 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009425/1.167, allocations: 466 kB / 1.036 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.167, allocations: 3.938 kB / 1.036 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/1.167, allocations: 3.953 kB / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/1.167, allocations: 16 kB / 1.036 GB, free: 2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/1.17, allocations: 1.786 MB / 1.038 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/1.171, allocations: 445.8 kB / 1.038 GB, free: 316 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/1.172, allocations: 175.1 kB / 1.038 GB, free: 212 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/1.172, allocations: 4.438 kB / 1.038 GB, free: 208 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/1.172, allocations: 335.2 kB / 1.039 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=55): time 2.555e-06/1.172, allocations: 0 / 1.039 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55): time 0.0008315/1.173, allocations: 431 kB / 1.039 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.173, allocations: 239.9 kB / 1.039 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/1.174, allocations: 352.3 kB / 1.04 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/1.174, allocations: 33.69 kB / 1.04 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/1.174, allocations: 330.6 kB / 1.04 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/1.174, allocations: 166.8 kB / 1.04 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/1.174, allocations: 0 / 1.04 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.174, allocations: 364.2 kB / 1.041 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/1.175, allocations: 153.9 kB / 1.041 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/1.175, allocations: 320 kB / 1.041 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/1.175, allocations: 176.1 kB / 1.041 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.175, allocations: 4 kB / 1.041 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007525/1.176, allocations: 480.4 kB / 1.042 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001994/1.176, allocations: 452.7 kB / 1.042 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.176, allocations: 0 / 1.042 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.176, allocations: 7.938 kB / 1.042 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/1.177, allocations: 127 kB / 1.042 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.177, allocations: 0 / 1.042 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/1.177, allocations: 111.5 kB / 1.042 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/1.177, allocations: 15.31 kB / 1.042 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/1.177, allocations: 4 kB / 1.042 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006115/1.178, allocations: 379.9 kB / 1.043 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/1.178, allocations: 0 / 1.043 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/1.178, allocations: 12.05 kB / 1.043 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/1.179, allocations: 106.6 kB / 1.043 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.179, allocations: 11.94 kB / 1.043 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/1.179, allocations: 83.62 kB / 1.043 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/1.179, allocations: 18.88 kB / 1.043 GB, free: 12.29 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.0001527/1.179, allocations: 120.2 kB / 1.043 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/1.179, allocations: 55.33 kB / 1.043 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008771/1.18, allocations: 0.5058 MB / 1.044 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/1.18, allocations: 7.953 kB / 1.044 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.18, allocations: 7.984 kB / 1.044 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.18, allocations: 3.984 kB / 1.044 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/1.183, allocations: 1.53 MB / 1.045 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.183, allocations: 8.125 kB / 1.045 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/1.183, allocations: 114.2 kB / 1.045 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/1.183, allocations: 8 kB / 1.045 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/1.183, allocations: 15.94 kB / 1.045 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/1.183, allocations: 11.94 kB / 1.045 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.183, allocations: 8 kB / 1.045 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/1.184, allocations: 0.9342 MB / 1.046 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/1.184, allocations: 197.3 kB / 1.046 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/1.185, allocations: 4 kB / 1.046 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/1.185, allocations: 67.94 kB / 1.046 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.185, allocations: 66 kB / 1.047 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/1.185, allocations: 23.75 kB / 1.047 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003358/1.186, allocations: 272.6 kB / 1.047 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/1.186, allocations: 3.938 kB / 1.047 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000892/1.186, allocations: 245.9 kB / 1.047 GB, free: 8.602 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.0005051/1.187, allocations: 186.3 kB / 1.047 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001053/1.188, allocations: 0.6345 MB / 1.048 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.188, allocations: 8.375 kB / 1.048 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004157/1.189, allocations: 254.1 kB / 1.048 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/1.189, allocations: 102.1 kB / 1.048 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/1.191, allocations: 0.9004 MB / 1.049 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/1.192, allocations: 0.9321 MB / 1.05 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000537/1.192, allocations: 110.7 kB / 1.05 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.192, allocations: 47.17 kB / 1.05 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/1.192, allocations: 0 / 1.05 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of Templates: time 0.0164/1.209, allocations: 7.261 MB / 1.057 GB, free: 14.6 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)