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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",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.024/2.024, allocations: 391.2 MB / 407 MB, free: 10.84 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.001053/0.001053, allocations: 189.4 kB / 499.1 MB, free: 4.676 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.296/1.296, allocations: 222.9 MB / 0.7948 GB, free: 15.84 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.0009485/0.0009484, allocations: 110.5 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 50.47 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2444, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00297/0.2474, allocations: 1.918 MB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2485, allocations: 0.6704 MB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2487, allocations: 7.875 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.2489, allocations: 23.86 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.2492, allocations: 91.66 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.2496, allocations: 155.2 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.2498, allocations: 223.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.25, allocations: 41.64 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.2501, allocations: 99.61 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01541/0.2655, allocations: 0.9551 MB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.702e-05/0.2656, allocations: 8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.2657, allocations: 27.98 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.2658, allocations: 43.83 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.2659, allocations: 91.48 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.2662, allocations: 215.2 kB / 1.223 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2662, allocations: 0 / 1.223 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2662, allocations: 0 / 1.223 GB, free: 112.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2662, allocations: 0 / 1.223 GB, free: 112.9 MB / 0.823 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.0007274/0.267, allocations: 0.5527 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.267, allocations: 11.98 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.2671, allocations: 20.75 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.2674, allocations: 248.1 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2675, allocations: 8.375 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2675, allocations: 24.06 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.2677, allocations: 115.5 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2677, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2677, allocations: 7.984 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2677, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.2679, allocations: 55.97 kB / 1.224 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008877/0.2688, allocations: 484.2 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.269, allocations: 116.1 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.2691, allocations: 36.84 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.2691, allocations: 3.984 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.2693, allocations: 107.4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.2693, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003636/0.2697, allocations: 172.3 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2697, allocations: 63.33 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2699, allocations: 206.3 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.2699, allocations: 37.64 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2701, allocations: 132.4 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.2701, allocations: 35.45 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.2702, allocations: 69.66 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.2703, allocations: 326.8 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.2705, allocations: 59.95 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.2707, allocations: 138.1 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.2709, allocations: 213.2 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.271, allocations: 0 / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005335/0.2715, allocations: 327.4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.2716, allocations: 67.39 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2716, allocations: 11.92 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2716, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.2717, allocations: 23.94 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2717, allocations: 4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2719, allocations: 23.83 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.2719, allocations: 16.14 kB / 1.226 GB, free: 109 MB / 0.823 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 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.2721, allocations: 148 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.2721, allocations: 23.72 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.2723, allocations: 147.4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2723, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2723, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2724, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.2729, allocations: 498.1 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2729, allocations: 3.938 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.2729, allocations: 7.938 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2729, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2729, allocations: 8 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.273, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.273, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.2734, allocations: 0.8474 MB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.2735, allocations: 92.91 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2735, allocations: 4 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2736, allocations: 11.98 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.2737, allocations: 15.92 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.2737, allocations: 11.98 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.2738, allocations: 144.2 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2738, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000424/0.2742, allocations: 51.94 kB / 1.228 GB, free: 106.8 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004099/0.2747, allocations: 165.2 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.275, allocations: 251.3 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.275, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.2751, allocations: 51.92 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.2755, allocations: 56.03 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.2762, allocations: 0.5206 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.2764, allocations: 0.7321 MB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.501e-05/0.2765, allocations: 29.94 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.2765, allocations: 23.44 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/0.2765, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of Templates: time 0.006499/0.283, allocations: 3.478 MB / 1.233 GB, free: 101.5 MB / 0.823 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 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)