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 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0-master/package.mo): time 1.663/1.663, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 174.7 kB / 384.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 0.6626 GB, free: 4.191 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009035/0.0009035, allocations: 93.03 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 16.44 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6849/0.6853, allocations: 120.3 MB / 1.026 GB, free: 55.78 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.8767, allocations: 144.8 MB / 1.168 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/0.8771, allocations: 81.11 kB / 1.168 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02147/0.8986, allocations: 7.03 MB / 1.175 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.836e-06/0.8986, allocations: 0 / 1.175 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.8987, allocations: 8 kB / 1.175 GB, free: 10.02 MB / 0.7448 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.000902/0.8996, allocations: 0.5437 MB / 1.175 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.8996, allocations: 8.562 kB / 1.175 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.8997, allocations: 31.23 kB / 1.175 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.9003, allocations: 271.5 kB / 1.175 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.9004, allocations: 12.38 kB / 1.176 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.9004, allocations: 22.23 kB / 1.176 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.9006, allocations: 103.4 kB / 1.176 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.9007, allocations: 3.938 kB / 1.176 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.9007, allocations: 9.328 kB / 1.176 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9007, allocations: 0 / 1.176 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.9009, allocations: 60.78 kB / 1.176 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009585/0.9018, allocations: 0.4894 MB / 1.176 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.9021, allocations: 109.4 kB / 1.176 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.146e-05/0.9022, allocations: 40.78 kB / 1.176 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.9023, allocations: 4.5 kB / 1.176 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.9024, allocations: 107.1 kB / 1.176 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 5.36e-06/0.9025, allocations: 0.6094 kB / 1.176 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003811/0.9028, allocations: 169.8 kB / 1.177 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.9029, allocations: 59.83 kB / 1.177 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.9031, allocations: 208.9 kB / 1.177 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.9032, allocations: 35.48 kB / 1.177 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.9033, allocations: 128.3 kB / 1.177 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.9034, allocations: 36.72 kB / 1.177 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.9034, allocations: 4 kB / 1.177 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.9035, allocations: 332.4 kB / 1.177 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.9037, allocations: 59.95 kB / 1.177 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.9039, allocations: 127.3 kB / 1.178 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.9043, allocations: 213.1 kB / 1.178 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.9043, allocations: 0 / 1.178 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005726/0.9048, allocations: 333.1 kB / 1.178 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.9049, allocations: 68.8 kB / 1.178 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9049, allocations: 1.5 kB / 1.178 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.905, allocations: 4 kB / 1.178 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.9051, allocations: 17.31 kB / 1.178 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.9051, allocations: 11.92 kB / 1.178 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.9053, allocations: 22.12 kB / 1.178 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.9053, allocations: 17 kB / 1.178 GB, free: 6.141 MB / 0.7448 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.0001371/0.9054, allocations: 145 kB / 1.178 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.9055, allocations: 20.84 kB / 1.178 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.9057, allocations: 146 kB / 1.178 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.9058, allocations: 4 kB / 1.178 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9058, allocations: 7.5 kB / 1.178 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9058, allocations: 0 / 1.178 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.9064, allocations: 0.4918 MB / 1.179 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.9064, allocations: 3.938 kB / 1.179 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.9065, allocations: 11.94 kB / 1.179 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.9065, allocations: 4 kB / 1.179 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.9065, allocations: 9.906 kB / 1.179 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9065, allocations: 0 / 1.179 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9065, allocations: 3.938 kB / 1.179 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.9068, allocations: 235 kB / 1.179 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.9068, allocations: 96.86 kB / 1.179 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.9069, allocations: 3.984 kB / 1.179 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.907, allocations: 12 kB / 1.179 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.9071, allocations: 19.97 kB / 1.179 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.9071, allocations: 11.98 kB / 1.179 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001181/0.9072, allocations: 140.2 kB / 1.18 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9072, allocations: 0 / 1.18 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004171/0.9076, allocations: 83.92 kB / 1.18 GB, free: 4.625 MB / 0.7448 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.0005175/0.9082, allocations: 248.5 kB / 1.18 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003987/0.9086, allocations: 248.3 kB / 1.18 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9086, allocations: 0 / 1.18 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.9087, allocations: 59.89 kB / 1.18 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.9091, allocations: 60.86 kB / 1.18 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.9105, allocations: 0.6342 MB / 1.181 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.9109, allocations: 0.7245 MB / 1.181 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.911, allocations: 27.38 kB / 1.182 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.911, allocations: 23.44 kB / 1.182 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.911, allocations: 3.938 kB / 1.182 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of Templates: time 0.007985/0.919, allocations: 3.766 MB / 1.185 GB, free: 14.96 MB / 0.7605 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)