Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001233/0.001233, 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.001314/0.001314, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.31 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.313, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003468/0.3166, allocations: 1.937 MB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3179, allocations: 0.6588 MB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.318, allocations: 4 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.3183, allocations: 31.78 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.3186, allocations: 87.66 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.319, allocations: 143.8 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.3193, allocations: 235.3 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3195, allocations: 37.67 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.3196, allocations: 103.6 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.3332, allocations: 0.9646 MB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.974e-05/0.3333, allocations: 8 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3334, allocations: 32 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.3335, allocations: 47.77 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3336, allocations: 87.5 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.334, allocations: 211.3 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.334, allocations: 3.938 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3341, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.3341, allocations: 0 / 1.072 GB, free: 6.535 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.001157/0.3352, allocations: 0.5619 MB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3353, allocations: 8.031 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.3354, allocations: 20.75 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.336, allocations: 246 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.336, allocations: 12.38 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.3361, allocations: 20.12 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.3364, allocations: 108.4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3364, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.3364, allocations: 7.984 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3365, allocations: 7.984 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.3366, allocations: 59.97 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.3379, allocations: 492.1 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.3382, allocations: 110.7 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.3383, allocations: 32.84 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.3384, allocations: 7.938 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3386, allocations: 107.3 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 7.624e-06/0.3386, allocations: 4 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000519/0.3392, allocations: 176.1 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.3392, allocations: 55.41 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.3395, allocations: 207.6 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.3396, allocations: 33.7 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3397, allocations: 128.3 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.3398, allocations: 39.53 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.3399, allocations: 61.67 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3401, allocations: 330.8 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.3403, allocations: 63.95 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.3406, allocations: 123.7 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.341, allocations: 221.3 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.341, allocations: 0 / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000713/0.3418, allocations: 335.2 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.3418, allocations: 63.55 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3419, allocations: 11.94 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3419, allocations: 0 / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.342, allocations: 19.94 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.342, allocations: 3.984 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.3422, allocations: 23.84 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.3423, allocations: 15.92 kB / 1.076 GB, free: 2.57 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.0001881/0.3425, allocations: 144 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.3425, allocations: 15.81 kB / 1.076 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.3428, allocations: 159.4 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3429, allocations: 0 / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3429, allocations: 0 / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3429, allocations: 4.031 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.3436, allocations: 490.1 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3436, allocations: 0 / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.3436, allocations: 7.938 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3437, allocations: 4 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3437, allocations: 11.98 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.3437, allocations: 4 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3437, allocations: 3.938 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.344, allocations: 238.3 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3441, allocations: 108.8 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.3442, allocations: 4 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3443, allocations: 11.98 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.3444, allocations: 19.97 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.3444, allocations: 8 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000147/0.3445, allocations: 145.5 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3446, allocations: 0 / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003603/0.3449, allocations: 43.98 kB / 1.077 GB, free: 1.074 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.0004481/0.3454, allocations: 179.3 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004842/0.3459, allocations: 246.9 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3459, allocations: 4.062 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.346, allocations: 55.91 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.3465, allocations: 57.11 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.3473, allocations: 369 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.3477, allocations: 0.7284 MB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.3478, allocations: 29.92 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.3479, allocations: 23.42 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of SimCode: time 1.914e-06/0.3479, allocations: 0 / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of Templates: time 0.008025/0.3559, allocations: 3.377 MB / 1.082 GB, free: 11.99 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)