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.00175/0.00175, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00203/0.00203, allocations: 199.7 kB / 16.26 MB, free: 6.617 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 66.44 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3589, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003501/0.3625, allocations: 1.926 MB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3638, allocations: 0.6548 MB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.3639, allocations: 0 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.3642, allocations: 27.78 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.3646, allocations: 99.66 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.3651, allocations: 151.8 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.3655, allocations: 247.3 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3657, allocations: 29.67 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.3659, allocations: 119.6 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.3795, allocations: 1.044 MB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.986e-05/0.3796, allocations: 16 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.3797, allocations: 36 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.3798, allocations: 51.77 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3799, allocations: 95.5 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.3803, allocations: 211.3 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3803, allocations: 4 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3803, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3804, allocations: 0 / 1.072 GB, free: 6.371 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.0008831/0.3812, allocations: 0.5695 MB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3813, allocations: 8.031 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3814, allocations: 20.75 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.3817, allocations: 242 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3818, allocations: 16.38 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.3818, allocations: 20.12 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.3821, allocations: 111.4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3821, allocations: 0 / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.3821, allocations: 4 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3821, allocations: 4 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3823, allocations: 51.97 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/0.3832, allocations: 496.1 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.3835, allocations: 117.6 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.3836, allocations: 40.84 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3836, allocations: 11.81 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.3838, allocations: 103.3 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.3838, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003607/0.3842, allocations: 169.4 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.3842, allocations: 55.41 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3844, allocations: 215.6 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.3845, allocations: 33.7 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3846, allocations: 132.3 kB / 1.075 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.3846, allocations: 35.55 kB / 1.075 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3848, allocations: 65.67 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3849, allocations: 330.8 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.3851, allocations: 59.95 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3853, allocations: 134.5 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.3857, allocations: 213.3 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3857, allocations: 0 / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006049/0.3863, allocations: 328.5 kB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/0.3864, allocations: 67.39 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.3864, allocations: 3.938 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3864, allocations: 4 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.3865, allocations: 23.92 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3865, allocations: 8.156 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3867, allocations: 23.83 kB / 1.076 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.3868, allocations: 12 kB / 1.076 GB, free: 2.395 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.000162/0.387, allocations: 144 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.387, allocations: 15.81 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.3873, allocations: 149.6 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3873, allocations: 4 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3873, allocations: 0 / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3873, allocations: 7.984 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.3879, allocations: 490.1 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3879, allocations: 0 / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.388, allocations: 19.92 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.388, allocations: 3.938 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.388, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.388, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.388, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3883, allocations: 239.3 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.3884, allocations: 112.8 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.3884, allocations: 7.984 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3885, allocations: 8 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.3886, allocations: 15.97 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.3886, allocations: 11.94 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001314/0.3888, allocations: 145.5 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3888, allocations: 0 / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003331/0.3891, allocations: 47.98 kB / 1.077 GB, free: 0.8984 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.00039/0.3895, allocations: 171.3 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.39, allocations: 259 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.39, allocations: 0 / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.3901, allocations: 55.91 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.3906, allocations: 79.47 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.3914, allocations: 371.3 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3917, allocations: 0.7242 MB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.3918, allocations: 29.94 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.3919, allocations: 23.42 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3919, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.008076/0.4, allocations: 3.472 MB / 1.082 GB, free: 11.7 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)