Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001782/0.001782, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002366/0.002366, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.464/3.464, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_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.002038/0.002038, allocations: 66.22 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3988, allocations: 179 MB / 1.345 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003417/0.4022, allocations: 1.818 MB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.4035, allocations: 0.6123 MB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.4036, allocations: 7.938 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.4038, allocations: 27.73 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.4042, allocations: 119.5 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.4046, allocations: 159.6 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.4049, allocations: 227.4 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.405, allocations: 37.91 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.4051, allocations: 107.7 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006173/0.4113, allocations: 0.7992 MB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/0.4114, allocations: 16 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.4115, allocations: 35.98 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.4116, allocations: 39.84 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.4117, allocations: 91.5 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.4121, allocations: 207.2 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4121, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4121, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.4122, allocations: 3.938 kB / 1.349 GB, free: 12.38 MB / 1.045 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.0008251/0.413, allocations: 480.9 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.413, allocations: 12.03 kB / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.628e-05/0.413, allocations: 384 / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.4131, allocations: 42.73 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.4132, allocations: 24.8 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.4134, allocations: 182.2 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.4135, allocations: 15.94 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.4135, allocations: 20 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.4137, allocations: 95.7 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4137, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4138, allocations: 7.938 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4138, allocations: 4 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.4139, allocations: 51.97 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008752/0.4148, allocations: 443.4 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.4149, allocations: 66.56 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.415, allocations: 29.06 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.415, allocations: 11.92 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.4152, allocations: 109.6 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.4152, allocations: 0 / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0003661/0.4156, allocations: 145.6 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.4157, allocations: 51.41 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.4159, allocations: 191.6 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.4159, allocations: 33.7 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.4161, allocations: 120.5 kB / 1.352 GB, free: 10.11 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.4161, allocations: 31.73 kB / 1.352 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.4162, allocations: 61.67 kB / 1.352 GB, free: 10.01 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4164, allocations: 326.8 kB / 1.352 GB, free: 9.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.4164, allocations: 39.88 kB / 1.352 GB, free: 9.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.4167, allocations: 125.6 kB / 1.352 GB, free: 9.488 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.4169, allocations: 111.7 kB / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4169, allocations: 0 / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002854/0.4172, allocations: 149.6 kB / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4172, allocations: 11.94 kB / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4172, allocations: 0 / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4172, allocations: 4 kB / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4174, allocations: 19.92 kB / 1.352 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4174, allocations: 4 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.4176, allocations: 23.88 kB / 1.352 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.4176, allocations: 8 kB / 1.352 GB, free: 9.141 MB / 1.045 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.000169/0.4178, allocations: 134.4 kB / 1.353 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.4178, allocations: 27.83 kB / 1.353 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.4181, allocations: 119.1 kB / 1.353 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4181, allocations: 0 / 1.353 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.4181, allocations: 4 kB / 1.353 GB, free: 8.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4181, allocations: 7.922 kB / 1.353 GB, free: 8.832 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000642/0.4187, allocations: 433.2 kB / 1.353 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4187, allocations: 0 / 1.353 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.4188, allocations: 11.92 kB / 1.353 GB, free: 8.348 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4188, allocations: 4 kB / 1.353 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4188, allocations: 4 kB / 1.353 GB, free: 8.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4188, allocations: 0 / 1.353 GB, free: 8.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4188, allocations: 0 / 1.353 GB, free: 8.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.419, allocations: 222.3 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.4191, allocations: 23.88 kB / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.4191, allocations: 4 kB / 1.353 GB, free: 8.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.4192, allocations: 4 kB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.4193, allocations: 19.97 kB / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.4193, allocations: 8 kB / 1.353 GB, free: 8.051 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001419/0.4195, allocations: 144.2 kB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4195, allocations: 0 / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003304/0.4198, allocations: 47.92 kB / 1.354 GB, free: 7.863 MB / 1.045 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.0008451/0.4207, allocations: 0.8126 MB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.4209, allocations: 95.83 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4209, allocations: 0 / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.78e-05/0.421, allocations: 39.97 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.4214, allocations: 57.3 kB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.4237, allocations: 1.863 MB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.4241, allocations: 0.7242 MB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.349e-05/0.4241, allocations: 25.41 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.4242, allocations: 47.42 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of SimCode: time 6.92e-07/0.4242, allocations: 0 / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.4528, allocations: 5.329 MB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.2, allocations: 16.06 kB / 1.362 GB, free: 14.9 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.461543560028076] Failed to read output from testmodel.py, exit status != 0: 12.372567427984904 12.396926298 11.98031689 Calling exit ...