Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009491/0.0009491, allocations: 103.3 kB / 16.29 MB, free: 6.43 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.0008964/0.0008965, allocations: 185.1 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.91 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1979, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002767/0.2007, allocations: 1.755 MB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009811/0.2017, allocations: 0.6313 MB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.2018, allocations: 0 / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.2019, allocations: 27.73 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.2023, allocations: 123.4 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.2026, allocations: 158.8 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.2028, allocations: 235.4 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.203, allocations: 45.61 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2031, allocations: 103.7 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.2033, allocations: 127.5 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.2033, allocations: 16 kB / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.2035, allocations: 135.8 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.2036, allocations: 47.83 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.745e-05/0.2037, allocations: 91.52 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.204, allocations: 295.4 kB / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.204, allocations: 0 / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.993e-06/0.204, allocations: 0 / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.204, allocations: 0 / 0.7877 GB, free: 24 kB / 0.6544 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.3425/0.5465, allocations: 0.5818 MB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5466, allocations: 8.812 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.539e-05/0.5466, allocations: 22.06 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.547, allocations: 249.1 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.547, allocations: 12.31 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.547, allocations: 19.81 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.5472, allocations: 107.1 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5472, allocations: 7.656 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.5473, allocations: 3.125 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5473, allocations: 2.969 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.5474, allocations: 64.05 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.5482, allocations: 486.8 kB / 0.7892 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.5484, allocations: 116.8 kB / 0.7894 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.5485, allocations: 37.77 kB / 0.7894 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.5485, allocations: 2.625 kB / 0.7894 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.5486, allocations: 104.3 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.5487, allocations: 0.6562 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0002941/0.549, allocations: 172.8 kB / 0.7897 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.549, allocations: 61.06 kB / 0.7897 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.5492, allocations: 203.4 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.5492, allocations: 34.14 kB / 0.7899 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.5493, allocations: 130.5 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.5493, allocations: 42.12 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.5494, allocations: 59.31 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.5494, allocations: 334.4 kB / 0.7905 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.5496, allocations: 63.67 kB / 0.7905 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.5497, allocations: 131.5 kB / 0.7907 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.55, allocations: 210.5 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.55, allocations: 0 / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004676/0.5504, allocations: 331.8 kB / 0.7912 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.5505, allocations: 70.23 kB / 0.7913 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5505, allocations: 1.25 kB / 0.7913 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5505, allocations: 3 kB / 0.7913 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.5506, allocations: 22.42 kB / 0.7913 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5506, allocations: 6.562 kB / 0.7913 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.5508, allocations: 25.38 kB / 0.7913 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.5508, allocations: 11.2 kB / 0.7913 GB, free: 46.78 MB / 0.6544 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 8.672e-05/0.5509, allocations: 150.9 kB / 0.7915 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.5509, allocations: 19.59 kB / 0.7915 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.5511, allocations: 150.5 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.5511, allocations: 0.5312 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5511, allocations: 5.906 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5512, allocations: 3.344 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.5516, allocations: 487.9 kB / 0.7921 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5516, allocations: 3.938 kB / 0.7921 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.5516, allocations: 9.844 kB / 0.7921 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5516, allocations: 2.562 kB / 0.7921 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5516, allocations: 4.5 kB / 0.7921 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5516, allocations: 1.969 kB / 0.7921 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5517, allocations: 0.6875 kB / 0.7921 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.5518, allocations: 235.6 kB / 0.7924 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.5519, allocations: 97.16 kB / 0.7924 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.5519, allocations: 2.625 kB / 0.7924 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.552, allocations: 15.02 kB / 0.7925 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.5521, allocations: 18.92 kB / 0.7925 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.5521, allocations: 5.25 kB / 0.7925 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.167e-05/0.5522, allocations: 147 kB / 0.7926 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5522, allocations: 2.297 kB / 0.7926 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003266/0.5525, allocations: 80.67 kB / 0.7927 GB, free: 45.98 MB / 0.6544 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.0004338/0.553, allocations: 225.7 kB / 0.7929 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.5533, allocations: 258.1 kB / 0.7932 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5533, allocations: 0 / 0.7932 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/0.5534, allocations: 55 kB / 0.7932 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.5538, allocations: 60.8 kB / 0.7933 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.5543, allocations: 317.7 kB / 0.7936 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.5544, allocations: 0.7248 MB / 0.7943 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.546e-05/0.5545, allocations: 31.5 kB / 0.7943 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.5546, allocations: 26.89 kB / 0.7943 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.81e-07/0.5546, allocations: 0 / 0.7943 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.007475/0.5621, allocations: 4.051 MB / 0.7983 GB, free: 44.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)