Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.3 MB / 405.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 169.1 kB / 498.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 98.38 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 7.688 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3205, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.5057, allocations: 152.6 MB / 1.372 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.506, allocations: 79.95 kB / 1.372 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01774/0.5237, allocations: 6.223 MB / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5237, allocations: 0 / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.5238, allocations: 4 kB / 1.378 GB, free: 3.207 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000675/0.5244, allocations: 0.5344 MB / 1.379 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5245, allocations: 8.031 kB / 1.379 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.5246, allocations: 19.75 kB / 1.379 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.525, allocations: 254.7 kB / 1.379 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.5251, allocations: 12.19 kB / 1.379 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.5251, allocations: 15.98 kB / 1.379 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.5253, allocations: 96.59 kB / 1.379 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5253, allocations: 4 kB / 1.379 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.5253, allocations: 7.953 kB / 1.379 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5253, allocations: 0 / 1.379 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.5255, allocations: 56.47 kB / 1.379 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.5263, allocations: 481.5 kB / 1.379 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.5264, allocations: 78.55 kB / 1.38 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.5265, allocations: 0 / 1.38 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.5266, allocations: 99.28 kB / 1.38 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.5266, allocations: 0 / 1.38 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0002933/0.5269, allocations: 141.4 kB / 1.38 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.527, allocations: 59.41 kB / 1.38 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.5271, allocations: 174.1 kB / 1.38 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.5272, allocations: 33.7 kB / 1.38 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.5273, allocations: 124.4 kB / 1.38 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.5273, allocations: 39.55 kB / 1.38 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.5273, allocations: 0 / 1.38 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5274, allocations: 330.8 kB / 1.38 GB, free: 472 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.5275, allocations: 27.98 kB / 1.38 GB, free: 444 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.5277, allocations: 125.2 kB / 1.381 GB, free: 288 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.794e-05/0.5278, allocations: 39.62 kB / 1.381 GB, free: 252 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5278, allocations: 0 / 1.381 GB, free: 252 kB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002319/0.528, allocations: 149.3 kB / 1.381 GB, free: 96 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.5281, allocations: 4.156 kB / 1.381 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5281, allocations: 8.219 kB / 1.381 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5281, allocations: 4 kB / 1.381 GB, free: 80 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.5282, allocations: 19.88 kB / 1.381 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.5282, allocations: 3.984 kB / 1.381 GB, free: 56 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.5284, allocations: 19.94 kB / 1.381 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.5284, allocations: 11.95 kB / 1.381 GB, free: 24 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001449/0.5286, allocations: 145.6 kB / 1.381 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.5286, allocations: 19.81 kB / 1.381 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.5288, allocations: 131.1 kB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5288, allocations: 0 / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5288, allocations: 0 / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5289, allocations: 0 / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.5294, allocations: 458.3 kB / 1.382 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5294, allocations: 0 / 1.382 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.5295, allocations: 11.94 kB / 1.382 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5295, allocations: 0 / 1.382 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5295, allocations: 4 kB / 1.382 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5295, allocations: 0 / 1.382 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5295, allocations: 3.953 kB / 1.382 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.5297, allocations: 215.3 kB / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.5298, allocations: 96.92 kB / 1.382 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.5298, allocations: 11.98 kB / 1.382 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.5299, allocations: 8 kB / 1.382 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.53, allocations: 19.92 kB / 1.382 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.53, allocations: 8 kB / 1.382 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000107/0.5301, allocations: 135.4 kB / 1.382 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5301, allocations: 0 / 1.382 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003149/0.5304, allocations: 51.84 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003482/0.5308, allocations: 189.9 kB / 1.382 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.531, allocations: 91.89 kB / 1.382 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.531, allocations: 0 / 1.382 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.5311, allocations: 43.92 kB / 1.382 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.5314, allocations: 39.91 kB / 1.382 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.532, allocations: 318.5 kB / 1.383 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.5322, allocations: 0.7244 MB / 1.383 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.297e-05/0.5323, allocations: 21.53 kB / 1.383 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.5324, allocations: 27.42 kB / 1.384 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.5324, allocations: 0 / 1.384 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of Templates: time 0.006267/0.5387, allocations: 2.96 MB / 1.386 GB, free: 10.21 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)