Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.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.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_latest_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_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001293/0.001293, allocations: 182.6 kB / 0.4902 GB, free: 2.215 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.604/1.604, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0008825/0.0008825, allocations: 98.39 kB / 0.9396 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 10.28 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3299, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.5347, allocations: 153.7 MB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.535, allocations: 79.89 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01938/0.5544, allocations: 6.804 MB / 1.386 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5544, allocations: 0 / 1.386 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.5545, allocations: 4 kB / 1.386 GB, free: 8.91 MB / 0.8855 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.0008051/0.5553, allocations: 0.5507 MB / 1.387 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5553, allocations: 12.56 kB / 1.387 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.103e-05/0.5554, allocations: 19.72 kB / 1.387 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.5559, allocations: 274.4 kB / 1.387 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.556, allocations: 12 kB / 1.387 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.556, allocations: 23.98 kB / 1.387 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.5563, allocations: 105.4 kB / 1.387 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5563, allocations: 3.953 kB / 1.387 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.5563, allocations: 4 kB / 1.387 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.5563, allocations: 4 kB / 1.387 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.5564, allocations: 51.97 kB / 1.387 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.5574, allocations: 492.4 kB / 1.387 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.5577, allocations: 110.7 kB / 1.388 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.5577, allocations: 11.92 kB / 1.388 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.5579, allocations: 109.9 kB / 1.388 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.5579, allocations: 0 / 1.388 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.000387/0.5583, allocations: 169.4 kB / 1.388 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.5583, allocations: 55.41 kB / 1.388 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.5585, allocations: 183.6 kB / 1.388 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.5586, allocations: 33.7 kB / 1.388 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.5587, allocations: 124.3 kB / 1.388 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.5588, allocations: 43.5 kB / 1.388 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.5588, allocations: 4 kB / 1.388 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.559, allocations: 342.7 kB / 1.389 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.5591, allocations: 55.95 kB / 1.389 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.5594, allocations: 135.7 kB / 1.389 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.5596, allocations: 126.7 kB / 1.389 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5596, allocations: 3.938 kB / 1.389 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005508/0.5601, allocations: 328.9 kB / 1.389 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.5602, allocations: 63.39 kB / 1.389 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.5602, allocations: 4 kB / 1.389 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5602, allocations: 0 / 1.389 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.5603, allocations: 27.92 kB / 1.389 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.5604, allocations: 4 kB / 1.389 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.5605, allocations: 27.98 kB / 1.389 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.5606, allocations: 12 kB / 1.389 GB, free: 5.145 MB / 0.8855 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.000163/0.5608, allocations: 157 kB / 1.39 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.5608, allocations: 15.81 kB / 1.39 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.5611, allocations: 147.4 kB / 1.39 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5611, allocations: 0 / 1.39 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5611, allocations: 4 kB / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5611, allocations: 0 / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.5617, allocations: 496.1 kB / 1.39 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5617, allocations: 0 / 1.39 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.5618, allocations: 11.98 kB / 1.39 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5618, allocations: 0 / 1.39 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.5618, allocations: 0 / 1.39 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5618, allocations: 3.938 kB / 1.39 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5618, allocations: 0 / 1.39 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.5621, allocations: 243.2 kB / 1.39 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.5621, allocations: 96.81 kB / 1.39 GB, free: 3.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.5622, allocations: 8 kB / 1.39 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5623, allocations: 7.984 kB / 1.39 GB, free: 3.867 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.5624, allocations: 15.98 kB / 1.391 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.5624, allocations: 11.98 kB / 1.391 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000135/0.5625, allocations: 149.5 kB / 1.391 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5625, allocations: 0 / 1.391 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003294/0.5629, allocations: 51.94 kB / 1.391 GB, free: 3.645 MB / 0.8855 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.0004433/0.5633, allocations: 184.7 kB / 1.391 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.5638, allocations: 250.1 kB / 1.391 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5638, allocations: 3.938 kB / 1.391 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.5639, allocations: 51.92 kB / 1.391 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.5642, allocations: 54.14 kB / 1.391 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.5649, allocations: 352.8 kB / 1.392 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.5652, allocations: 0.7284 MB / 1.392 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.483e-05/0.5653, allocations: 37.86 kB / 1.392 GB, free: 1.945 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.5654, allocations: 27.42 kB / 1.392 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.5654, allocations: 0 / 1.392 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of Templates: time 0.007883/0.5733, allocations: 3.207 MB / 1.395 GB, free: 14.74 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)