Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.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.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_9_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_9_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001098/0.001098, allocations: 180.2 kB / 492.3 MB, free: 0.6211 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.652/1.652, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009143/0.0009143, allocations: 91.5 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.229e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3013, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9751/1.276, allocations: 152.8 MB / 1.362 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/1.277, allocations: 75.17 kB / 1.362 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0179/1.295, allocations: 6.793 MB / 1.368 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.295, allocations: 0 / 1.368 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.866e-05/1.295, allocations: 3.812 kB / 1.368 GB, free: 34.37 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006323/1.295, allocations: 0.5244 MB / 1.369 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.295, allocations: 15.69 kB / 1.369 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/1.295, allocations: 19.53 kB / 1.369 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/1.296, allocations: 268.8 kB / 1.369 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.296, allocations: 11 kB / 1.369 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/1.296, allocations: 17.72 kB / 1.369 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/1.296, allocations: 107 kB / 1.369 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.296, allocations: 0 / 1.369 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/1.296, allocations: 3.953 kB / 1.369 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.296, allocations: 3.875 kB / 1.369 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/1.296, allocations: 59.16 kB / 1.369 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/1.297, allocations: 496.1 kB / 1.37 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/1.297, allocations: 108.8 kB / 1.37 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/1.297, allocations: 34.36 kB / 1.37 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/1.298, allocations: 10.2 kB / 1.37 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/1.298, allocations: 104.1 kB / 1.37 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/1.298, allocations: 0 / 1.37 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002532/1.298, allocations: 131.9 kB / 1.37 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/1.298, allocations: 59.19 kB / 1.37 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/1.298, allocations: 181.5 kB / 1.37 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/1.298, allocations: 35.67 kB / 1.37 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/1.298, allocations: 122.1 kB / 1.371 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/1.298, allocations: 44.67 kB / 1.371 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/1.298, allocations: 6.688 kB / 1.371 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.298, allocations: 331 kB / 1.371 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/1.299, allocations: 63.28 kB / 1.371 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/1.299, allocations: 121.1 kB / 1.371 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/1.299, allocations: 131.9 kB / 1.371 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.299, allocations: 3.812 kB / 1.371 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004165/1.299, allocations: 315.9 kB / 1.371 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/1.299, allocations: 69.06 kB / 1.372 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.299, allocations: 3.906 kB / 1.372 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.299, allocations: 0 / 1.372 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/1.299, allocations: 22.3 kB / 1.372 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.299, allocations: 3.906 kB / 1.372 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/1.3, allocations: 30.52 kB / 1.372 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/1.3, allocations: 17.95 kB / 1.372 GB, free: 32.25 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: 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 () * 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 8.61e-05/1.3, allocations: 122.4 kB / 1.372 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/1.3, allocations: 19.53 kB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/1.3, allocations: 157.4 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.3, allocations: 3.906 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.3, allocations: 0 / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.3, allocations: 2.438 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/1.301, allocations: 491.9 kB / 1.372 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.301, allocations: 0 / 1.372 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/1.301, allocations: 7.781 kB / 1.372 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.301, allocations: 3.781 kB / 1.372 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/1.301, allocations: 6.656 kB / 1.372 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.301, allocations: 0 / 1.372 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.301, allocations: 0 / 1.372 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/1.301, allocations: 233.2 kB / 1.373 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/1.301, allocations: 103.6 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/1.301, allocations: 7.406 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/1.301, allocations: 6.891 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/1.301, allocations: 17.03 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/1.301, allocations: 10.8 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.333e-05/1.301, allocations: 145.9 kB / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.301, allocations: 0 / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002847/1.301, allocations: 52.02 kB / 1.373 GB, free: 31.41 MB / 0.8386 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 () * 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.0003821/1.302, allocations: 183.8 kB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003013/1.302, allocations: 244 kB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.302, allocations: 0 / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/1.302, allocations: 54.23 kB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/1.303, allocations: 62.45 kB / 1.373 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/1.303, allocations: 236.8 kB / 1.374 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/1.303, allocations: 0.7268 MB / 1.374 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.449e-05/1.303, allocations: 29.86 kB / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/1.304, allocations: 22.88 kB / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.304, allocations: 0 / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.006391/1.31, allocations: 3.203 MB / 1.378 GB, free: 30.02 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)