Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 109.5 kB / 19.73 MB, free: 2.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002577/0.002577, allocations: 220.7 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 64.39 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3387, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003509/0.3422, allocations: 1.813 MB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3434, allocations: 0.6084 MB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3435, allocations: 7.938 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.3437, allocations: 27.72 kB / 1.287 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.3442, allocations: 115.5 kB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.3445, allocations: 159.6 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.3449, allocations: 231.4 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.345, allocations: 33.23 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.3451, allocations: 99.75 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006135/0.3513, allocations: 0.8139 MB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.3514, allocations: 16 kB / 1.288 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.3515, allocations: 39.98 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.3516, allocations: 39.83 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.3517, allocations: 87.52 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.3522, allocations: 211.1 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3522, allocations: 0 / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3522, allocations: 4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3522, allocations: 0 / 1.288 GB, free: 7.656 MB / 0.9825 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.0008885/0.3531, allocations: 482.8 kB / 1.289 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3532, allocations: 12.03 kB / 1.289 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.479e-05/0.3532, allocations: 4.312 kB / 1.289 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.3532, allocations: 42.73 kB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.3533, allocations: 20.84 kB / 1.289 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3536, allocations: 190.7 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3536, allocations: 12 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.3537, allocations: 16 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.3539, allocations: 97.58 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3539, allocations: 0 / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3539, allocations: 3.938 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3539, allocations: 4 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.354, allocations: 55.95 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/0.3549, allocations: 451.4 kB / 1.29 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.3551, allocations: 70.5 kB / 1.29 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.3551, allocations: 28.84 kB / 1.29 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3551, allocations: 4 kB / 1.29 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.3553, allocations: 107.4 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3553, allocations: 0 / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003373/0.3557, allocations: 141.6 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3557, allocations: 51.41 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.356, allocations: 191.6 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.3561, allocations: 33.7 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.3562, allocations: 128.4 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.3562, allocations: 31.8 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3563, allocations: 57.67 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3565, allocations: 326.8 kB / 1.291 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.3566, allocations: 27.98 kB / 1.291 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3568, allocations: 132.5 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.357, allocations: 106.2 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.357, allocations: 0 / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002622/0.3573, allocations: 150.4 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3573, allocations: 7.938 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3573, allocations: 4 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3573, allocations: 0 / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3574, allocations: 27.92 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.3574, allocations: 4 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3576, allocations: 20.09 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.3576, allocations: 12 kB / 1.291 GB, free: 4.41 MB / 0.9825 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 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.3578, allocations: 137.9 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.3578, allocations: 23.83 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3581, allocations: 127.9 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3581, allocations: 0 / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3581, allocations: 4 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3581, allocations: 3.984 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.3587, allocations: 423.8 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3587, allocations: 4 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.3587, allocations: 7.984 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3587, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3587, allocations: 8 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3587, allocations: 3.938 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3587, allocations: 0 / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.3589, allocations: 215.4 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.359, allocations: 27.88 kB / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.359, allocations: 4 kB / 1.292 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3591, allocations: 11.94 kB / 1.292 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.3592, allocations: 15.97 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.3592, allocations: 8 kB / 1.292 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001356/0.3593, allocations: 145.1 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3593, allocations: 0 / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003367/0.3597, allocations: 51.88 kB / 1.292 GB, free: 3.129 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008296/0.3605, allocations: 0.8208 MB / 1.293 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3607, allocations: 79.91 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3608, allocations: 0 / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.3608, allocations: 43.91 kB / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3612, allocations: 55.11 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.3635, allocations: 1.855 MB / 1.295 GB, free: 184 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3639, allocations: 0.7203 MB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.614e-05/0.3639, allocations: 25.41 kB / 1.296 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/0.364, allocations: 51.42 kB / 1.296 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.364, allocations: 4 kB / 1.296 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.3908, allocations: 5.343 MB / 1.301 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.07, allocations: 12.42 kB / 1.301 GB, free: 10.18 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.035284833982587] Failed to read output from testmodel.py, exit status != 0: 12.88166508602444 12.27266815 11.91552353 Calling exit ...