Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.211/2.211, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001151/0.001151, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.0008814/0.0008815, allocations: 95.17 kB / 0.9318 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.182e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2777, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9386/1.216, allocations: 153.3 MB / 1.368 GB, free: 0.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.217, allocations: 72.58 kB / 1.369 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01896/1.236, allocations: 6.206 MB / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.446e-06/1.236, allocations: 0 / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.579e-05/1.236, allocations: 4 kB / 1.375 GB, free: 11.41 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.001231/1.237, allocations: 0.5135 MB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.894e-05/1.237, allocations: 12.03 kB / 1.375 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/1.237, allocations: 15.81 kB / 1.375 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008352/1.238, allocations: 254.7 kB / 1.375 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/1.238, allocations: 11.88 kB / 1.375 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/1.238, allocations: 15.19 kB / 1.375 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/1.239, allocations: 100.5 kB / 1.375 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/1.239, allocations: 0 / 1.375 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/1.239, allocations: 14.83 kB / 1.375 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/1.239, allocations: 3.984 kB / 1.375 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/1.239, allocations: 51.61 kB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/1.24, allocations: 475.4 kB / 1.376 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/1.24, allocations: 70.75 kB / 1.376 GB, free: 9.879 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.248e-05/1.24, allocations: 35.73 kB / 1.376 GB, free: 9.852 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/1.24, allocations: 7.984 kB / 1.376 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/1.241, allocations: 90.64 kB / 1.376 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/1.241, allocations: 0 / 1.376 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003738/1.241, allocations: 113.9 kB / 1.376 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/1.241, allocations: 59.39 kB / 1.376 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/1.241, allocations: 181.8 kB / 1.377 GB, free: 9.426 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/1.241, allocations: 37.64 kB / 1.377 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/1.242, allocations: 122.8 kB / 1.377 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/1.242, allocations: 31.05 kB / 1.377 GB, free: 9.254 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/1.242, allocations: 7.75 kB / 1.377 GB, free: 9.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.242, allocations: 329.3 kB / 1.377 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/1.242, allocations: 26.25 kB / 1.377 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/1.242, allocations: 131.1 kB / 1.377 GB, free: 8.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/1.242, allocations: 30.55 kB / 1.377 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.242, allocations: 0 / 1.377 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003285/1.243, allocations: 147.9 kB / 1.377 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/1.243, allocations: 4 kB / 1.377 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.243, allocations: 4 kB / 1.377 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.243, allocations: 0 / 1.377 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/1.243, allocations: 23.92 kB / 1.377 GB, free: 8.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/1.243, allocations: 0 / 1.377 GB, free: 8.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/1.243, allocations: 31.53 kB / 1.377 GB, free: 8.562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/1.243, allocations: 8.156 kB / 1.377 GB, free: 8.555 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 0.0001502/1.243, allocations: 120 kB / 1.378 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/1.243, allocations: 15.81 kB / 1.378 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/1.244, allocations: 127 kB / 1.378 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.244, allocations: 0 / 1.378 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.244, allocations: 0 / 1.378 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.244, allocations: 0 / 1.378 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/1.244, allocations: 463.9 kB / 1.378 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.244, allocations: 0 / 1.378 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/1.245, allocations: 11.92 kB / 1.378 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/1.245, allocations: 4 kB / 1.378 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.245, allocations: 0 / 1.378 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.245, allocations: 3.953 kB / 1.378 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.245, allocations: 0 / 1.378 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/1.245, allocations: 218.5 kB / 1.378 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/1.245, allocations: 92.86 kB / 1.378 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/1.245, allocations: 6.375 kB / 1.378 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/1.245, allocations: 9.984 kB / 1.378 GB, free: 7.508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/1.245, allocations: 23.05 kB / 1.378 GB, free: 7.488 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/1.245, allocations: 8 kB / 1.378 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001319/1.245, allocations: 145.4 kB / 1.379 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.245, allocations: 0 / 1.379 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003682/1.246, allocations: 46.8 kB / 1.379 GB, free: 7.316 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.0005585/1.246, allocations: 165.3 kB / 1.379 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002512/1.247, allocations: 92.73 kB / 1.379 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.247, allocations: 0 / 1.379 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.94e-05/1.247, allocations: 46.98 kB / 1.379 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/1.247, allocations: 45.36 kB / 1.379 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/1.248, allocations: 200.2 kB / 1.379 GB, free: 6.832 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/1.248, allocations: 0.724 MB / 1.38 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001105/1.248, allocations: 33.52 kB / 1.38 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/1.248, allocations: 19.44 kB / 1.38 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of SimCode: time 8.82e-07/1.248, allocations: 0 / 1.38 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of Templates: time 0.008206/1.256, allocations: 2.965 MB / 1.383 GB, free: 3.098 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)