Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.88/4.88, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002454/0.002453, allocations: 352.7 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.19/4.19, allocations: 410.7 MB / 1.112 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001824/0.001824, allocations: 187.4 kB / 1.225 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.000483, allocations: 8 kB / 1.348 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6058, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003089/0.609, allocations: 1.534 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.6112, allocations: 0.6192 MB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.6114, allocations: 0.5312 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.6116, allocations: 27.72 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005503/0.6122, allocations: 100.1 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.6129, allocations: 140.6 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.6133, allocations: 203.4 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.6135, allocations: 38.19 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.6137, allocations: 80.36 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00802/0.6218, allocations: 2.486 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.214e-05/0.6219, allocations: 10.59 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.6221, allocations: 31.86 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.6222, allocations: 31.91 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.6223, allocations: 54.09 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.6227, allocations: 147.6 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.278e-06/0.6227, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.81e-06/0.6227, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.6227, allocations: 1 kB / 1.466 GB, free: 278.9 MB / 0.8542 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.001026/0.6238, allocations: 0.5119 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.6239, allocations: 15.56 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.624, allocations: 28.45 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.6245, allocations: 234.7 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.6246, allocations: 12.59 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.6247, allocations: 12.62 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.6251, allocations: 117.8 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6251, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.6252, allocations: 11.98 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.6252, allocations: 3.953 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.6255, allocations: 61.42 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.6271, allocations: 499.2 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.6276, allocations: 108.7 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.6278, allocations: 40.84 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.6278, allocations: 0.75 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.6281, allocations: 108.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 5.108e-06/0.6282, allocations: 0 / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0006718/0.6288, allocations: 171.4 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.6289, allocations: 51.41 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.6293, allocations: 205.7 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.6294, allocations: 33.7 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.6295, allocations: 121.7 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.6296, allocations: 43.55 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.6297, allocations: 4 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.6298, allocations: 331.5 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.6302, allocations: 68.88 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.6306, allocations: 133.5 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.6311, allocations: 130.3 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.006e-06/0.6311, allocations: 0 / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001324/0.6325, allocations: 329.7 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.6326, allocations: 67.33 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6326, allocations: 1 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.6326, allocations: 4 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.6329, allocations: 31.92 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.6329, allocations: 0.625 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.6333, allocations: 37.52 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.6334, allocations: 8 kB / 1.469 GB, free: 275.1 MB / 0.8542 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.0002361/0.6337, allocations: 155.5 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.6338, allocations: 15.81 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.6342, allocations: 147.1 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.584e-06/0.6343, allocations: 3.984 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.077e-06/0.6343, allocations: 2.656 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.665e-06/0.6343, allocations: 4 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6354, allocations: 495.5 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.173e-06/0.6355, allocations: 0 / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.6356, allocations: 7.984 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.6356, allocations: 4.875 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.6357, allocations: 0 / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.6357, allocations: 0 / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.284e-06/0.6357, allocations: 0.8438 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.6362, allocations: 240.5 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.6363, allocations: 102.1 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.6364, allocations: 4.656 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.6367, allocations: 15.52 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6368, allocations: 15.98 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.6369, allocations: 11.98 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002279/0.6371, allocations: 143.2 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.194e-06/0.6371, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008054/0.638, allocations: 44 kB / 1.471 GB, free: 273.6 MB / 0.8542 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.0005508/0.6385, allocations: 173.8 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007801/0.6393, allocations: 248.1 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.144e-06/0.6394, allocations: 0.75 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.6396, allocations: 51.92 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.6402, allocations: 57.42 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/0.6409, allocations: 353.3 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.6411, allocations: 0.7329 MB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.6413, allocations: 29.56 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.6413, allocations: 27.42 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of SimCode: time 1.971e-06/0.6413, allocations: 0 / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of Templates: time 0.008365/0.6497, allocations: 3.228 MB / 1.476 GB, free: 269 MB / 0.8542 GB