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.142/2.142, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009471/0.0009471, allocations: 180.8 kB / 487.4 MB, free: 5.027 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.466/1.466, allocations: 221.5 MB / 0.7824 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 103.2 kB / 0.9219 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.696e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2889, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9624/1.251, allocations: 152.1 MB / 1.355 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.252, allocations: 74.56 kB / 1.355 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01804/1.27, allocations: 6.764 MB / 1.361 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.27, allocations: 0 / 1.361 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.816e-05/1.27, allocations: 3.875 kB / 1.361 GB, free: 33.79 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.0006107/1.27, allocations: 0.5245 MB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.27, allocations: 11.69 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/1.271, allocations: 20.09 kB / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/1.271, allocations: 268.9 kB / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/1.271, allocations: 3.844 kB / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/1.271, allocations: 15.06 kB / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001281/1.271, allocations: 56.25 kB / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/1.271, allocations: 95.73 kB / 1.362 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.271, allocations: 7.797 kB / 1.362 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.271, allocations: 0 / 1.362 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/1.271, allocations: 3.938 kB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/1.272, allocations: 468.4 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/1.272, allocations: 93.27 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/1.272, allocations: 41.25 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/1.272, allocations: 0 / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/1.273, allocations: 93.66 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/1.273, allocations: 3.938 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002289/1.273, allocations: 126.8 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/1.273, allocations: 58.78 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/1.273, allocations: 171.9 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/1.273, allocations: 36.36 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/1.273, allocations: 115.6 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/1.273, allocations: 40.44 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/1.273, allocations: 0 / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.273, allocations: 332.5 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/1.273, allocations: 54.16 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/1.273, allocations: 123.3 kB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.952e-05/1.274, allocations: 58.03 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.274, allocations: 3.953 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003426/1.274, allocations: 250.1 kB / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/1.274, allocations: 65.25 kB / 1.364 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.274, allocations: 6.938 kB / 1.364 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.274, allocations: 3.844 kB / 1.364 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/1.274, allocations: 19.31 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.274, allocations: 2.859 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/1.274, allocations: 25.97 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/1.274, allocations: 13.55 kB / 1.364 GB, free: 31.82 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.841e-05/1.274, allocations: 118.3 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/1.274, allocations: 23.36 kB / 1.364 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/1.275, allocations: 141.2 kB / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.275, allocations: 3.844 kB / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.275, allocations: 0 / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.275, allocations: 0 / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/1.275, allocations: 449.5 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.275, allocations: 0 / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/1.275, allocations: 10.8 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.275, allocations: 0 / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/1.275, allocations: 0 / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.275, allocations: 0 / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.275, allocations: 3.938 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/1.275, allocations: 239.2 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/1.275, allocations: 95.44 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/1.275, allocations: 3.984 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/1.276, allocations: 14.03 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/1.276, allocations: 16.22 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/1.276, allocations: 11.69 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.867e-05/1.276, allocations: 139.8 kB / 1.365 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.276, allocations: 4 kB / 1.365 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002864/1.276, allocations: 41.44 kB / 1.366 GB, free: 31.01 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.0003327/1.276, allocations: 177.2 kB / 1.366 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002484/1.277, allocations: 230.6 kB / 1.366 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.277, allocations: 3.844 kB / 1.366 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/1.277, allocations: 41.69 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/1.277, allocations: 61.33 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/1.277, allocations: 222.5 kB / 1.366 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/1.278, allocations: 0.7251 MB / 1.367 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.484e-05/1.278, allocations: 33.78 kB / 1.367 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/1.278, allocations: 25.75 kB / 1.367 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.278, allocations: 0 / 1.367 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.005496/1.283, allocations: 3.083 MB / 1.37 GB, free: 29.62 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)