Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.338/1.338, allocations: 251.9 MB / 266.9 MB, free: 11.09 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.001071/0.001071, allocations: 188.9 kB / 326.5 MB, free: 2.266 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.791/1.791, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008757/0.0008758, allocations: 92.47 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 6.469 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2503, allocations: 106.3 MB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.429, allocations: 135.2 MB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4293, allocations: 79.95 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01825/0.4476, allocations: 6.764 MB / 1.039 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.235e-06/0.4476, allocations: 0 / 1.039 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.4477, allocations: 7.938 kB / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006875/0.4484, allocations: 0.554 MB / 1.039 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4484, allocations: 8.031 kB / 1.039 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.4485, allocations: 31.75 kB / 1.039 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.4489, allocations: 266.5 kB / 1.04 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.449, allocations: 15.98 kB / 1.04 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.449, allocations: 16 kB / 1.04 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.4492, allocations: 102.9 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.4492, allocations: 0 / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.4493, allocations: 7.953 kB / 1.04 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4493, allocations: 4 kB / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.4494, allocations: 56.78 kB / 1.04 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.4502, allocations: 0.4885 MB / 1.04 GB, free: 24 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.4505, allocations: 114.7 kB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.4505, allocations: 0 / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.4507, allocations: 99.36 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.4507, allocations: 8 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0003272/0.4511, allocations: 179.9 kB / 1.041 GB, free: 15.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4511, allocations: 51.41 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4513, allocations: 179.6 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.4513, allocations: 33.7 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.4514, allocations: 132.3 kB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.4515, allocations: 31.52 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.4515, allocations: 8 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4516, allocations: 338.8 kB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4518, allocations: 59.95 kB / 1.041 GB, free: 14.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.452, allocations: 131.2 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.4522, allocations: 139.3 kB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4522, allocations: 0 / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005204/0.4527, allocations: 324.8 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.4528, allocations: 69.11 kB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4528, allocations: 0 / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4528, allocations: 4 kB / 1.042 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.4529, allocations: 19.92 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4529, allocations: 8.156 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.4531, allocations: 27.86 kB / 1.042 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.4532, allocations: 15.97 kB / 1.042 GB, free: 13.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001373/0.4533, allocations: 144 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.4533, allocations: 19.72 kB / 1.042 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.4536, allocations: 155.4 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4536, allocations: 8 kB / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4536, allocations: 0 / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4536, allocations: 0 / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.4542, allocations: 489.1 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4542, allocations: 4 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.4542, allocations: 11.92 kB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4543, allocations: 4 kB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4543, allocations: 8 kB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4543, allocations: 0 / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4543, allocations: 0 / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.4545, allocations: 231.2 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.4546, allocations: 100.9 kB / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.4546, allocations: 0 / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4547, allocations: 19.98 kB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.4548, allocations: 24 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.4548, allocations: 8 kB / 1.043 GB, free: 12.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001109/0.455, allocations: 141.5 kB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.442e-06/0.455, allocations: 0 / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002868/0.4553, allocations: 59.78 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00037/0.4556, allocations: 164.8 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.456, allocations: 246.6 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.456, allocations: 12.19 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.4561, allocations: 47.98 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.4565, allocations: 62.33 kB / 1.044 GB, free: 11.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.4571, allocations: 342.5 kB / 1.044 GB, free: 11.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.4574, allocations: 0.7362 MB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.23e-05/0.4575, allocations: 34 kB / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.4575, allocations: 23.42 kB / 1.045 GB, free: 10.74 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/0.4575, allocations: 0 / 1.045 GB, free: 10.74 MB / 0.698 GB Notification: Performance of Templates: time 0.007147/0.4647, allocations: 3.193 MB / 1.048 GB, free: 7.574 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)