Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001761/0.001761, 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.001993/0.001993, allocations: 219.5 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.525/1.525, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.517/3.517, allocations: 0.49 GB / 0.7959 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_12_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.001949/0.001949, allocations: 69.48 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 176.1 MB / 1.327 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.005186/0.347, allocations: 1.818 MB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3487, allocations: 0.6085 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.3488, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.349, allocations: 35.7 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.3494, allocations: 115.5 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.3498, allocations: 153.7 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.3501, allocations: 239.3 kB / 1.33 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3503, allocations: 29.89 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.3504, allocations: 111.7 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006119/0.3565, allocations: 0.8009 MB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.3566, allocations: 16 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3567, allocations: 39.97 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.3568, allocations: 39.78 kB / 1.331 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.357, allocations: 87.56 kB / 1.331 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.3574, allocations: 215.1 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3574, allocations: 4 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3574, allocations: 0 / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3574, allocations: 3.938 kB / 1.331 GB, free: 13.87 MB / 1.029 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.0008288/0.3582, allocations: 476.9 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3583, allocations: 8.031 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.815e-05/0.3583, allocations: 8.375 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.3583, allocations: 42.73 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.3584, allocations: 20.84 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3587, allocations: 186.2 kB / 1.332 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3587, allocations: 8 kB / 1.332 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3587, allocations: 12 kB / 1.332 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.359, allocations: 98.95 kB / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.359, allocations: 0 / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.359, allocations: 7.938 kB / 1.332 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.359, allocations: 3.938 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3591, allocations: 55.97 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.36, allocations: 443.4 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.3601, allocations: 70.55 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.3602, allocations: 28.78 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3602, allocations: 8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.3603, allocations: 92.5 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 3.506e-06/0.3604, allocations: 3.984 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003263/0.3607, allocations: 152.4 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3607, allocations: 59.39 kB / 1.333 GB, free: 11.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3609, allocations: 190.4 kB / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.361, allocations: 29.7 kB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3611, allocations: 128.5 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.3611, allocations: 35.73 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.683e-05/0.3612, allocations: 53.67 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3613, allocations: 326.8 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.3614, allocations: 31.98 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.3617, allocations: 129.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.3618, allocations: 105.1 kB / 1.334 GB, free: 10.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3618, allocations: 3.938 kB / 1.334 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002748/0.3621, allocations: 145.5 kB / 1.334 GB, free: 10.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3621, allocations: 18.22 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3621, allocations: 0 / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3622, allocations: 4 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3623, allocations: 16.2 kB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3623, allocations: 0 / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.3625, allocations: 35.81 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3625, allocations: 8.156 kB / 1.334 GB, free: 10.64 MB / 1.029 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.0001648/0.3626, allocations: 138.1 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.3627, allocations: 19.84 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3629, allocations: 138.9 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3629, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3629, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.363, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.3636, allocations: 437.3 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3636, allocations: 0 / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.3636, allocations: 8 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3636, allocations: 0 / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3637, allocations: 7.984 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3637, allocations: 0 / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3637, allocations: 4 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.3639, allocations: 207.4 kB / 1.335 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.364, allocations: 31.84 kB / 1.335 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.364, allocations: 0 / 1.335 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3641, allocations: 11.98 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.3642, allocations: 19.91 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.3642, allocations: 8 kB / 1.335 GB, free: 9.543 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001571/0.3644, allocations: 144.2 kB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3644, allocations: 0 / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003308/0.3647, allocations: 39.94 kB / 1.335 GB, free: 9.363 MB / 1.029 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.0009471/0.3656, allocations: 0.8181 MB / 1.336 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.3659, allocations: 83.84 kB / 1.336 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3659, allocations: 0 / 1.336 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.631e-05/0.366, allocations: 51.86 kB / 1.336 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.3664, allocations: 61.3 kB / 1.336 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.3688, allocations: 1.848 MB / 1.338 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3691, allocations: 0.7203 MB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.014e-05/0.3692, allocations: 17.48 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.78e-05/0.3693, allocations: 59.41 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3693, allocations: 0 / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.3968, allocations: 5.343 MB / 1.344 GB, free: 424 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.99, allocations: 5.625 kB / 1.344 GB, free: 420 kB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.188523949997034] Failed to read output from testmodel.py, exit status != 0: 12.156901176960673 12.173484166 11.812847208 Calling exit ...