Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.00158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 192.2 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.41 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3267, allocations: 159.9 MB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003385/0.3302, allocations: 1.937 MB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3314, allocations: 0.6665 MB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.3315, allocations: 7.938 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.3317, allocations: 19.86 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.332, allocations: 91.66 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.3324, allocations: 151.7 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.3326, allocations: 223.4 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3328, allocations: 37.64 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.3329, allocations: 107.6 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/0.3458, allocations: 0.9533 MB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.3459, allocations: 12 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.346, allocations: 35.97 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.929e-05/0.3461, allocations: 43.78 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3463, allocations: 83.5 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.3466, allocations: 215.2 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3466, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3466, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3466, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 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.0008184/0.3474, allocations: 0.5641 MB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3475, allocations: 8.031 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.3475, allocations: 20.75 kB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.3479, allocations: 249.9 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3479, allocations: 16.38 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.348, allocations: 20.12 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.3482, allocations: 108.5 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3482, allocations: 0 / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3483, allocations: 3.984 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3483, allocations: 4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3484, allocations: 55.97 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008578/0.3493, allocations: 496.1 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.3496, allocations: 106.6 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.3496, allocations: 40.89 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.3497, allocations: 3.984 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.3499, allocations: 106.7 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.3499, allocations: 3.938 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003402/0.3502, allocations: 173.3 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3503, allocations: 59.41 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.3505, allocations: 211.6 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.3505, allocations: 37.69 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.3506, allocations: 124.4 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.3506, allocations: 35.55 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3507, allocations: 65.67 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3509, allocations: 330.8 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.351, allocations: 63.95 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.3513, allocations: 127.7 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.3515, allocations: 216.3 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3516, allocations: 0 / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005701/0.3521, allocations: 328.5 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.3522, allocations: 67.39 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3522, allocations: 3.938 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3522, allocations: 4 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.3523, allocations: 23.92 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3523, allocations: 8.156 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3525, allocations: 31.77 kB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.3526, allocations: 19.97 kB / 1.076 GB, free: 2.527 MB / 0.8262 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.0001289/0.3527, allocations: 140 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.3527, allocations: 19.8 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.353, allocations: 147.4 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.353, allocations: 4 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.353, allocations: 4 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.353, allocations: 7.969 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.3536, allocations: 486.2 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3536, allocations: 0 / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.3536, allocations: 11.94 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3537, allocations: 0 / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3537, allocations: 0 / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3537, allocations: 3.938 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3537, allocations: 8 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.3539, allocations: 242.3 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.354, allocations: 108.8 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.354, allocations: 4 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3542, allocations: 11.98 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.3542, allocations: 11.98 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.3543, allocations: 7.984 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001189/0.3544, allocations: 153.5 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3544, allocations: 0 / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000306/0.3547, allocations: 44 kB / 1.077 GB, free: 1.039 MB / 0.8262 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.0003471/0.3551, allocations: 171.5 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004045/0.3555, allocations: 258.5 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3555, allocations: 0 / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.3556, allocations: 43.98 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.356, allocations: 60.77 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.3566, allocations: 373 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3569, allocations: 0.7284 MB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.913e-05/0.357, allocations: 37.92 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.3571, allocations: 23.42 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3571, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.006876/0.364, allocations: 3.368 MB / 1.082 GB, free: 11.96 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)