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.137/2.137, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009872/0.0009872, allocations: 180.8 kB / 487.4 MB, free: 5.051 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.457/1.457, allocations: 221.5 MB / 0.7824 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008631/0.000863, allocations: 91.91 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.987e-05, allocations: 6.5 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2922, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9277/1.22, allocations: 151.8 MB / 1.354 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/1.22, allocations: 75.67 kB / 1.354 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01677/1.237, allocations: 6.182 MB / 1.36 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/1.237, allocations: 4 kB / 1.36 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.423e-05/1.237, allocations: 3.781 kB / 1.36 GB, free: 33.73 MB / 0.8386 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.0005164/1.238, allocations: 0.5024 MB / 1.361 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/1.238, allocations: 8.156 kB / 1.361 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/1.238, allocations: 34.41 kB / 1.361 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/1.238, allocations: 254.7 kB / 1.361 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.238, allocations: 3.844 kB / 1.361 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/1.238, allocations: 11.72 kB / 1.361 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001194/1.238, allocations: 48.89 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/1.238, allocations: 81.3 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/1.238, allocations: 0 / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/1.238, allocations: 3.953 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.238, allocations: 3.844 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006849/1.239, allocations: 444.3 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/1.239, allocations: 70.52 kB / 1.362 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/1.239, allocations: 23.55 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/1.239, allocations: 6.906 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/1.239, allocations: 89.23 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 2.265e-06/1.239, allocations: 3.984 kB / 1.362 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002135/1.24, allocations: 103.8 kB / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/1.24, allocations: 61.88 kB / 1.362 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/1.24, allocations: 173 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/1.24, allocations: 29.55 kB / 1.362 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/1.24, allocations: 124.2 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/1.24, allocations: 25.95 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/1.24, allocations: 0 / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.24, allocations: 327 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/1.24, allocations: 25.53 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/1.24, allocations: 120.1 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.329e-05/1.24, allocations: 45.08 kB / 1.363 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.24, allocations: 0 / 1.363 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001607/1.24, allocations: 125.5 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.241, allocations: 7.75 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.241, allocations: 224 / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.241, allocations: 7.906 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/1.241, allocations: 18.84 kB / 1.363 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.241, allocations: 3.875 kB / 1.363 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/1.241, allocations: 26.41 kB / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/1.241, allocations: 7.062 kB / 1.363 GB, free: 31.84 MB / 0.8386 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 () * 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 9.255e-05/1.241, allocations: 125 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/1.241, allocations: 15.66 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/1.241, allocations: 114.5 kB / 1.363 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.241, allocations: 3.875 kB / 1.363 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.241, allocations: 0 / 1.363 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.241, allocations: 7.938 kB / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/1.242, allocations: 413 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.242, allocations: 0 / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/1.242, allocations: 10.36 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.242, allocations: 3.844 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.242, allocations: 0 / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.242, allocations: 4 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.242, allocations: 0 / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/1.242, allocations: 214.2 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/1.242, allocations: 95.59 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/1.242, allocations: 3.875 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.798e-05/1.242, allocations: 6.594 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/1.242, allocations: 20.14 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/1.242, allocations: 10.78 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001067/1.242, allocations: 129.6 kB / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.242, allocations: 0 / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002808/1.243, allocations: 38.56 kB / 1.364 GB, free: 31.04 MB / 0.8386 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 () * 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.0003541/1.243, allocations: 172.8 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001727/1.243, allocations: 79.66 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.243, allocations: 4.125 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/1.243, allocations: 37.38 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/1.243, allocations: 58.12 kB / 1.365 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/1.244, allocations: 190.4 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/1.244, allocations: 0.7291 MB / 1.365 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.809e-05/1.244, allocations: 22.89 kB / 1.365 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/1.244, allocations: 21.73 kB / 1.365 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.244, allocations: 0 / 1.365 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.005264/1.25, allocations: 2.847 MB / 1.368 GB, free: 29.81 MB / 0.8386 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)