Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009502/0.0009502, 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.0009714/0.0009714, allocations: 193.8 kB / 16.14 MB, free: 6.699 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.183/1.183, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 251.6 MB / 0.5088 GB, free: 3.367 MB / 414.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.001238/0.001238, allocations: 67.91 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3931, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003123/0.3963, allocations: 1.925 MB / 0.7257 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3974, allocations: 0.6781 MB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.3975, allocations: 0 / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.3977, allocations: 23.8 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.3979, allocations: 95.66 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.3982, allocations: 139.8 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.3985, allocations: 227.4 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3986, allocations: 37.67 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3987, allocations: 99.66 kB / 0.7269 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01169/0.4104, allocations: 0.9649 MB / 0.7279 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.4105, allocations: 12 kB / 0.7279 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.4106, allocations: 27.98 kB / 0.7279 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.4107, allocations: 35.83 kB / 0.728 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.4108, allocations: 95.48 kB / 0.728 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.411, allocations: 207.3 kB / 0.7282 GB, free: 8.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4111, allocations: 0 / 0.7282 GB, free: 8.801 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.22e-07/0.4111, allocations: 0 / 0.7282 GB, free: 8.801 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4111, allocations: 0 / 0.7282 GB, free: 8.801 MB / 0.545 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.0007515/0.4118, allocations: 0.5528 MB / 0.7288 GB, free: 8.188 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.4119, allocations: 12.03 kB / 0.7288 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.4119, allocations: 28.59 kB / 0.7288 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.4123, allocations: 248 kB / 0.7291 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.4123, allocations: 12.38 kB / 0.7291 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.4123, allocations: 20.12 kB / 0.7291 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.4125, allocations: 104.1 kB / 0.7292 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4125, allocations: 0 / 0.7292 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.4126, allocations: 11.98 kB / 0.7292 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4126, allocations: 0 / 0.7292 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.4127, allocations: 63.84 kB / 0.7293 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.4135, allocations: 480.3 kB / 0.7297 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.4138, allocations: 118.7 kB / 0.7298 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.4138, allocations: 40.84 kB / 0.7299 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.4139, allocations: 11.98 kB / 0.7299 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.414, allocations: 107.1 kB / 0.73 GB, free: 6.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.414, allocations: 0 / 0.73 GB, free: 6.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0003271/0.4144, allocations: 173.3 kB / 0.7301 GB, free: 6.668 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4144, allocations: 59.39 kB / 0.7302 GB, free: 6.598 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.4146, allocations: 203.7 kB / 0.7304 GB, free: 6.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.4146, allocations: 33.7 kB / 0.7304 GB, free: 6.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.4147, allocations: 128.4 kB / 0.7306 GB, free: 6.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.4148, allocations: 39.55 kB / 0.7306 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.4149, allocations: 61.66 kB / 0.7307 GB, free: 6.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.415, allocations: 330.8 kB / 0.731 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.4151, allocations: 63.95 kB / 0.731 GB, free: 5.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.4154, allocations: 135.6 kB / 0.7312 GB, free: 5.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.4156, allocations: 205.3 kB / 0.7314 GB, free: 5.324 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4157, allocations: 0 / 0.7314 GB, free: 5.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005492/0.4162, allocations: 338.9 kB / 0.7317 GB, free: 4.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.4163, allocations: 67.39 kB / 0.7317 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.4163, allocations: 7.922 kB / 0.7317 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4163, allocations: 7.938 kB / 0.7318 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.4164, allocations: 12 kB / 0.7318 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.4164, allocations: 7.938 kB / 0.7318 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.4166, allocations: 27.83 kB / 0.7318 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.4166, allocations: 20.14 kB / 0.7318 GB, free: 4.816 MB / 0.545 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.0001179/0.4168, allocations: 144.1 kB / 0.732 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.4168, allocations: 15.81 kB / 0.732 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.417, allocations: 151.3 kB / 0.7321 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.417, allocations: 4 kB / 0.7321 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.417, allocations: 0 / 0.7321 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4171, allocations: 0 / 0.7321 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.4176, allocations: 490.1 kB / 0.7326 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4176, allocations: 0 / 0.7326 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.4177, allocations: 12 kB / 0.7326 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4177, allocations: 0 / 0.7326 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.4177, allocations: 0 / 0.7326 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.4177, allocations: 0 / 0.7326 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4177, allocations: 7.938 kB / 0.7326 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.4179, allocations: 250.4 kB / 0.7328 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.418, allocations: 92.92 kB / 0.7329 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.418, allocations: 4 kB / 0.7329 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4181, allocations: 11.98 kB / 0.7329 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.4182, allocations: 11.98 kB / 0.733 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.4182, allocations: 11.98 kB / 0.733 GB, free: 3.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001171/0.4183, allocations: 145.5 kB / 0.7331 GB, free: 3.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4183, allocations: 0 / 0.7331 GB, free: 3.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000288/0.4186, allocations: 43.94 kB / 0.7332 GB, free: 3.352 MB / 0.545 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.0002883/0.4189, allocations: 156.8 kB / 0.7333 GB, free: 3.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.4193, allocations: 254.6 kB / 0.7335 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4193, allocations: 3.938 kB / 0.7335 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.4194, allocations: 51.92 kB / 0.7336 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.4198, allocations: 59.88 kB / 0.7337 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.4204, allocations: 365.3 kB / 0.734 GB, free: 2.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.4207, allocations: 0.7245 MB / 0.7347 GB, free: 1.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.131e-05/0.4207, allocations: 29.92 kB / 0.7347 GB, free: 1.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.4208, allocations: 31.42 kB / 0.7348 GB, free: 1.625 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4208, allocations: 0 / 0.7348 GB, free: 1.625 MB / 0.545 GB Notification: Performance of Templates: time 0.006284/0.4271, allocations: 3.376 MB / 0.7381 GB, free: 14.29 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)