Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001063/0.001063, allocations: 176.8 kB / 366.7 MB, free: 1.676 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.613/1.613, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008581/0.0008581, allocations: 87.69 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.003e-05/1.969e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7027/0.7028, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2125/0.9153, allocations: 141.4 MB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.9157, allocations: 82.66 kB / 1.112 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01826/0.9339, allocations: 6.129 MB / 1.118 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.546e-06/0.934, allocations: 0 / 1.118 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.027e-05/0.934, allocations: 6.125 kB / 1.118 GB, free: 2.461 MB / 0.7136 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.001006/0.935, allocations: 0.5073 MB / 1.118 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.701e-05/0.9351, allocations: 12.03 kB / 1.118 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.9353, allocations: 24.39 kB / 1.118 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.9361, allocations: 250.7 kB / 1.118 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.9361, allocations: 4.562 kB / 1.118 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.9362, allocations: 16.97 kB / 1.118 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001725/0.9363, allocations: 40.38 kB / 1.118 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.9365, allocations: 84.78 kB / 1.118 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.9366, allocations: 0 / 1.118 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.9366, allocations: 0 / 1.118 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.9366, allocations: 9.953 kB / 1.118 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.9376, allocations: 435.8 kB / 1.119 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.9378, allocations: 86.44 kB / 1.119 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.9379, allocations: 28.8 kB / 1.119 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.9379, allocations: 7.984 kB / 1.119 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.9381, allocations: 89.25 kB / 1.119 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.595e-06/0.9381, allocations: 0 / 1.119 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003193/0.9384, allocations: 109.5 kB / 1.119 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.9385, allocations: 55.41 kB / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.9387, allocations: 165.4 kB / 1.119 GB, free: 400 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.9387, allocations: 29.27 kB / 1.119 GB, free: 368 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.9388, allocations: 120.4 kB / 1.12 GB, free: 244 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.9389, allocations: 31.61 kB / 1.12 GB, free: 212 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.9389, allocations: 0 / 1.12 GB, free: 212 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.9391, allocations: 330.8 kB / 1.12 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.358e-05/0.9391, allocations: 24 kB / 1.12 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.9393, allocations: 118 kB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.9394, allocations: 41.44 kB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9394, allocations: 0 / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002297/0.9396, allocations: 131.7 kB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.9396, allocations: 5.406 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.9396, allocations: 4 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.9397, allocations: 160 / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.9398, allocations: 29.8 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.9398, allocations: 0 / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.94, allocations: 23.83 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.94, allocations: 8 kB / 1.12 GB, free: 15.47 MB / 0.7292 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.0001233/0.9401, allocations: 116.9 kB / 1.12 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000165/0.9403, allocations: 101.5 kB / 1.12 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.9404, allocations: 15.81 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.9406, allocations: 119.6 kB / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.9406, allocations: 0 / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9406, allocations: 4 kB / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9406, allocations: 224 / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.9412, allocations: 419.3 kB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9412, allocations: 4 kB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.9413, allocations: 11.94 kB / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.9413, allocations: 4 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.9413, allocations: 5.859 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9413, allocations: 0 / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.9413, allocations: 0 / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.9416, allocations: 208.3 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.9416, allocations: 96.84 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.9417, allocations: 0 / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.9418, allocations: 12 kB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.9419, allocations: 15.97 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.9419, allocations: 8 kB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001164/0.942, allocations: 130.2 kB / 1.121 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/0.942, allocations: 0 / 1.121 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002994/0.9423, allocations: 40 kB / 1.121 GB, free: 14.09 MB / 0.7292 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.0008865/0.9432, allocations: 0.8138 MB / 1.122 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.9435, allocations: 72.56 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9435, allocations: 0 / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.726e-05/0.9436, allocations: 49.17 kB / 1.122 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.9439, allocations: 32.16 kB / 1.122 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006803/0.9446, allocations: 274 kB / 1.123 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.9449, allocations: 0.7241 MB / 1.123 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.635e-05/0.945, allocations: 29.59 kB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.9451, allocations: 47.42 kB / 1.123 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.9451, allocations: 0 / 1.123 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.9695, allocations: 4.187 MB / 1.128 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.9697, allocations: 163.5 kB / 1.128 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.908, allocations: 0 / 1.128 GB, free: 7.734 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)