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.001818/0.001818, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002939/0.002939, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.931/2.931, allocations: 476.8 MB / 0.7715 GB, free: 3.883 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: 66.91 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3894, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003502/0.3929, allocations: 1.777 MB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3941, allocations: 0.585 MB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.3942, allocations: 3.938 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.3944, allocations: 31.72 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.3947, allocations: 115.5 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.3951, allocations: 153.4 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.3954, allocations: 231.4 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3956, allocations: 29.73 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3957, allocations: 103.7 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006025/0.4017, allocations: 0.8098 MB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.4018, allocations: 16 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.4019, allocations: 43.97 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.402, allocations: 39.84 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.4021, allocations: 75.62 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.4025, allocations: 215.1 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4025, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4025, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4025, allocations: 0 / 1.288 GB, free: 6.688 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.0008431/0.4034, allocations: 480.9 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4034, allocations: 12.03 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.931e-05/0.4034, allocations: 384 / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.4035, allocations: 46.67 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.4036, allocations: 28.78 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.4038, allocations: 178.2 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4039, allocations: 12 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.4039, allocations: 16 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.4041, allocations: 96.27 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4041, allocations: 3.938 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.4042, allocations: 11.88 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.4042, allocations: 4 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.4043, allocations: 51.97 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.4051, allocations: 411.5 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4053, allocations: 66.56 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.4053, allocations: 28.84 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.4054, allocations: 4 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.4056, allocations: 101 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.4056, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003449/0.4059, allocations: 145.5 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.406, allocations: 59.41 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.4062, allocations: 187.6 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.4062, allocations: 33.7 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4064, allocations: 128.4 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.4064, allocations: 31.75 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4065, allocations: 57.67 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4067, allocations: 322.8 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.764e-05/0.4067, allocations: 31.98 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.4071, allocations: 239.3 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.4072, allocations: 111 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4072, allocations: 4 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002661/0.4075, allocations: 147.9 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4075, allocations: 11.94 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4075, allocations: 0 / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4075, allocations: 4.156 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4076, allocations: 23.92 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.4077, allocations: 4 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.4079, allocations: 23.88 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4079, allocations: 4 kB / 1.291 GB, free: 3.355 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.000148/0.408, allocations: 139.1 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.4081, allocations: 19.84 kB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.4083, allocations: 127.1 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4083, allocations: 0 / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4083, allocations: 0 / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4083, allocations: 8 kB / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.4089, allocations: 417.3 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4089, allocations: 4.031 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.409, allocations: 7.984 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.409, allocations: 0 / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.409, allocations: 11.94 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.409, allocations: 0 / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.409, allocations: 0 / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.4093, allocations: 224.4 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.4093, allocations: 23.89 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.4093, allocations: 4 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4094, allocations: 11.98 kB / 1.292 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.4095, allocations: 15.98 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.4095, allocations: 7.984 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001421/0.4097, allocations: 141.5 kB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4097, allocations: 0 / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003199/0.41, allocations: 47.89 kB / 1.292 GB, free: 2.086 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.0008987/0.4109, allocations: 0.8263 MB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.4111, allocations: 86.72 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4111, allocations: 0 / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.4112, allocations: 39.92 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.4116, allocations: 49.58 kB / 1.293 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.4139, allocations: 1.85 MB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.414, allocations: 107.6 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.4141, allocations: 29.47 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.4142, allocations: 51.41 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.4142, allocations: 0 / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.4424, allocations: 5.576 MB / 1.301 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.13, allocations: 4.062 kB / 1.301 GB, free: 9.562 MB / 0.9981 GB " [Timeout remaining time 288] (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.412928789039142] Failed to read output from testmodel.py, exit status != 0: 13.00389135198202 12.323439317 11.915850363 Calling exit ...