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.001992/0.001992, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002413/0.002413, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.835/2.835, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 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.002013/0.002013, allocations: 65.16 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.164, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004539/1.169, allocations: 1.814 MB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001519/1.17, allocations: 0.6067 MB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/1.17, allocations: 1.188 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/1.171, allocations: 23.47 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004491/1.171, allocations: 126.1 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/1.171, allocations: 147.3 kB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004547/1.172, allocations: 224.3 kB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/1.172, allocations: 34.48 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/1.172, allocations: 101.6 kB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006238/1.179, allocations: 0.8077 MB / 1.283 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.521e-05/1.179, allocations: 16.31 kB / 1.283 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/1.179, allocations: 40.2 kB / 1.283 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/1.179, allocations: 44.78 kB / 1.283 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/1.179, allocations: 89.02 kB / 1.283 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004944/1.18, allocations: 208.3 kB / 1.283 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.18, allocations: 2.047 kB / 1.283 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.18, allocations: 0 / 1.283 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.661e-05/1.18, allocations: 0 / 1.283 GB, free: 9.352 MB / 0.9981 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.001077/1.181, allocations: 0.5475 MB / 1.284 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.181, allocations: 9.531 kB / 1.284 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.95e-05/1.181, allocations: 2.938 kB / 1.284 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/1.181, allocations: 44.81 kB / 1.284 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.869e-05/1.181, allocations: 22.89 kB / 1.284 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/1.181, allocations: 244.5 kB / 1.284 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/1.181, allocations: 11.31 kB / 1.284 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/1.181, allocations: 18.28 kB / 1.284 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/1.181, allocations: 95.41 kB / 1.284 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.181, allocations: 0 / 1.284 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/1.182, allocations: 9.969 kB / 1.284 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.182, allocations: 2.125 kB / 1.284 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/1.182, allocations: 53.67 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/1.183, allocations: 473.9 kB / 1.285 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/1.183, allocations: 73.34 kB / 1.285 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/1.183, allocations: 27.44 kB / 1.285 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/1.183, allocations: 2.25 kB / 1.285 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/1.183, allocations: 101 kB / 1.285 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/1.183, allocations: 4 kB / 1.285 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003776/1.184, allocations: 148.9 kB / 1.285 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.184, allocations: 58.56 kB / 1.285 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/1.184, allocations: 187.5 kB / 1.285 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/1.184, allocations: 32.98 kB / 1.285 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/1.184, allocations: 127.1 kB / 1.285 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/1.184, allocations: 38.72 kB / 1.285 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/1.184, allocations: 54.92 kB / 1.285 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.184, allocations: 331.5 kB / 1.286 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/1.184, allocations: 28.94 kB / 1.286 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/1.185, allocations: 125.3 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/1.185, allocations: 106.4 kB / 1.286 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.185, allocations: 0 / 1.286 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002935/1.185, allocations: 154.8 kB / 1.286 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.185, allocations: 14.05 kB / 1.286 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.185, allocations: 1.359 kB / 1.286 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/1.185, allocations: 7.328 kB / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/1.185, allocations: 14.2 kB / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/1.185, allocations: 3.328 kB / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/1.186, allocations: 28.33 kB / 1.286 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/1.186, allocations: 5.438 kB / 1.286 GB, free: 6.887 MB / 0.9981 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.0001483/1.186, allocations: 133.1 kB / 1.286 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/1.186, allocations: 24.2 kB / 1.286 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/1.186, allocations: 127.2 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.186, allocations: 1.188 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.186, allocations: 3.938 kB / 1.286 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.186, allocations: 2.391 kB / 1.286 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/1.187, allocations: 460.3 kB / 1.287 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.187, allocations: 7.938 kB / 1.287 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/1.187, allocations: 6.984 kB / 1.287 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/1.187, allocations: 2.062 kB / 1.287 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.187, allocations: 5.875 kB / 1.287 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.187, allocations: 0.7031 kB / 1.287 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.187, allocations: 1.438 kB / 1.287 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/1.187, allocations: 224 kB / 1.287 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.187, allocations: 100.6 kB / 1.287 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/1.187, allocations: 5.766 kB / 1.287 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/1.187, allocations: 6.156 kB / 1.287 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/1.187, allocations: 21.08 kB / 1.287 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/1.187, allocations: 6.328 kB / 1.287 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001511/1.187, allocations: 143.9 kB / 1.287 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.187, allocations: 0 / 1.287 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003367/1.188, allocations: 46.14 kB / 1.287 GB, free: 5.898 MB / 0.9981 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.0009016/1.189, allocations: 0.8136 MB / 1.288 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002458/1.189, allocations: 86.2 kB / 1.288 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.189, allocations: 0 / 1.288 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/1.189, allocations: 40.78 kB / 1.288 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/1.189, allocations: 56.3 kB / 1.288 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.192, allocations: 1.855 MB / 1.29 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/1.192, allocations: 0.7267 MB / 1.291 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.326e-05/1.192, allocations: 18.45 kB / 1.291 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/1.193, allocations: 51.2 kB / 1.291 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.193, allocations: 0 / 1.291 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/1.22, allocations: 5.165 MB / 1.296 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/10.07, allocations: 6.625 kB / 1.296 GB, free: 2.141 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.499285869009327] Failed to read output from testmodel.py, exit status != 0: 10.20222570700571 10.217958383 9.035258656 Calling exit ...