Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.3 MB / 303.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 181 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 103 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004529, allocations: 14.22 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3165, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002383/0.3189, allocations: 1.521 MB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3201, allocations: 0.6277 MB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3202, allocations: 3.938 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.3204, allocations: 23.78 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.3208, allocations: 103.7 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.3212, allocations: 149.2 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.3215, allocations: 139.7 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3216, allocations: 33.66 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3217, allocations: 87.67 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.3228, allocations: 0.8662 MB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.3228, allocations: 8 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.3229, allocations: 19.98 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.3229, allocations: 35.84 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.323, allocations: 49.64 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3232, allocations: 143.9 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3232, allocations: 0 / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3232, allocations: 4 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.3232, allocations: 0 / 0.9831 GB, free: 23.88 MB / 0.6198 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.0007799/0.324, allocations: 0.5175 MB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3241, allocations: 16.02 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.3242, allocations: 23.67 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.3245, allocations: 242.7 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.3245, allocations: 12 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.3246, allocations: 16 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.3248, allocations: 109.5 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3248, allocations: 0 / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3248, allocations: 4 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3249, allocations: 4 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.325, allocations: 55.92 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.3259, allocations: 0.4886 MB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.3262, allocations: 114.7 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.3262, allocations: 0 / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.3264, allocations: 111.2 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.3264, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003629/0.3268, allocations: 177.2 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3268, allocations: 63.39 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.327, allocations: 196.5 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3271, allocations: 33.7 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.3272, allocations: 124.4 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3272, allocations: 35.55 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.3272, allocations: 8 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.3273, allocations: 330.8 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3275, allocations: 71.89 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.3277, allocations: 123.8 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3278, allocations: 147.3 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3279, allocations: 0 / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004597/0.3283, allocations: 338.9 kB / 0.9864 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.3284, allocations: 63.39 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3284, allocations: 4 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3284, allocations: 0 / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.3285, allocations: 23.92 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3285, allocations: 160 / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.3287, allocations: 35.83 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.3287, allocations: 11.98 kB / 0.9865 GB, free: 20.13 MB / 0.6198 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.0001346/0.3289, allocations: 144 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3289, allocations: 19.77 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.3291, allocations: 148.4 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3292, allocations: 0 / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3292, allocations: 8 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3292, allocations: 0 / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.3297, allocations: 491 kB / 0.9873 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3297, allocations: 0 / 0.9873 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.3297, allocations: 15.92 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3297, allocations: 0 / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3297, allocations: 8 kB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3298, allocations: 4 kB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3298, allocations: 0 / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.33, allocations: 236.5 kB / 0.9875 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.33, allocations: 100.8 kB / 0.9876 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.33, allocations: 4 kB / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3302, allocations: 15.98 kB / 0.9876 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3302, allocations: 23.91 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3303, allocations: 4 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001054/0.3304, allocations: 148.2 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.3304, allocations: 0 / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003021/0.3307, allocations: 47.98 kB / 0.9878 GB, free: 18.65 MB / 0.6198 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.0003862/0.3311, allocations: 161.2 kB / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.3314, allocations: 246.6 kB / 0.9882 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3315, allocations: 0 / 0.9882 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.3315, allocations: 60.27 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.3319, allocations: 47.91 kB / 0.9883 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.3325, allocations: 349.3 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.3327, allocations: 0.7323 MB / 0.9894 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.375e-05/0.3328, allocations: 29.88 kB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.3328, allocations: 27.42 kB / 0.9894 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3328, allocations: 4 kB / 0.9894 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.006469/0.3393, allocations: 3.239 MB / 0.9926 GB, free: 13.73 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)