Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.831/1.831, allocations: 288.4 MB / 303.4 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 168.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.6307 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007692/0.0007693, allocations: 94.91 kB / 0.7441 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004228, allocations: 14.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2432, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.001963/0.2452, allocations: 1.545 MB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2462, allocations: 0.6008 MB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.2464, allocations: 0 / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.2466, allocations: 31.78 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.2469, allocations: 103.5 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.2473, allocations: 129.9 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.2475, allocations: 195.5 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2476, allocations: 33.53 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.2478, allocations: 91.67 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/0.2503, allocations: 2.271 MB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.2504, allocations: 8 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.2504, allocations: 24 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.2505, allocations: 31.83 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.2505, allocations: 53.61 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2507, allocations: 135.7 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2507, allocations: 4 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2507, allocations: 0 / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.2507, allocations: 0 / 0.9847 GB, free: 22.39 MB / 0.6198 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.0006812/0.2514, allocations: 0.4983 MB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2515, allocations: 16.02 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.936e-05/0.2516, allocations: 23.77 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2518, allocations: 234.7 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.2518, allocations: 8.188 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.2519, allocations: 16 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2521, allocations: 95.14 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2521, allocations: 0 / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2521, allocations: 4 kB / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2521, allocations: 4 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.2522, allocations: 48.53 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.253, allocations: 496.2 kB / 0.9861 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.2532, allocations: 82.44 kB / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.2532, allocations: 32.84 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2532, allocations: 7.938 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.2534, allocations: 83.38 kB / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/0.2534, allocations: 0 / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002712/0.2537, allocations: 155 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.2538, allocations: 51.41 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.2539, allocations: 190.3 kB / 0.9866 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.2539, allocations: 29.7 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.254, allocations: 128.3 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.254, allocations: 35.61 kB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.2541, allocations: 0 / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.2541, allocations: 326.8 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.2542, allocations: 31.98 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.2544, allocations: 129.3 kB / 0.9873 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.278e-05/0.2544, allocations: 39.94 kB / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2545, allocations: 0 / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001956/0.2547, allocations: 155.2 kB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2547, allocations: 4.219 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2547, allocations: 0 / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2547, allocations: 7.938 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.2548, allocations: 12 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2548, allocations: 8.156 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.255, allocations: 31.77 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.255, allocations: 4 kB / 0.9875 GB, free: 19.19 MB / 0.6198 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.0001095/0.2552, allocations: 135.3 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.2552, allocations: 15.81 kB / 0.9877 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.2554, allocations: 135 kB / 0.9878 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2554, allocations: 4 kB / 0.9878 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2554, allocations: 4 kB / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2554, allocations: 0 / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.2559, allocations: 468.4 kB / 0.9883 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2559, allocations: 0 / 0.9883 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.2559, allocations: 12 kB / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.256, allocations: 4 kB / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.256, allocations: 0 / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.256, allocations: 0 / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.256, allocations: 0 / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2562, allocations: 227.1 kB / 0.9885 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.2562, allocations: 92.95 kB / 0.9886 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.2562, allocations: 3.984 kB / 0.9886 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2563, allocations: 16 kB / 0.9886 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.2564, allocations: 15.97 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2564, allocations: 4 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.414e-05/0.2565, allocations: 144.1 kB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2565, allocations: 0 / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002784/0.2568, allocations: 47.84 kB / 0.9888 GB, free: 17.79 MB / 0.6198 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.0002903/0.2571, allocations: 169.9 kB / 0.989 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.2573, allocations: 95.83 kB / 0.9891 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2573, allocations: 320 / 0.9891 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.2574, allocations: 43.98 kB / 0.9891 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2578, allocations: 48.36 kB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.2584, allocations: 322 kB / 0.9895 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.2585, allocations: 0.7205 MB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.936e-05/0.2586, allocations: 25.48 kB / 0.9902 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.2586, allocations: 23.42 kB / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2586, allocations: 0 / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.008895/0.2675, allocations: 3.016 MB / 0.9932 GB, free: 13.33 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)