Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 67.84 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002528/1.007, allocations: 1.556 MB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003293/1.007, allocations: 116.2 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/1.007, allocations: 0.8438 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/1.007, allocations: 10.98 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.551e-05/1.007, allocations: 10.12 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/1.008, allocations: 28.59 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/1.008, allocations: 59.72 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/1.008, allocations: 17.97 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/1.008, allocations: 23.3 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/1.008, allocations: 28.58 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/1.008, allocations: 4.562 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/1.008, allocations: 8.938 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/1.008, allocations: 24.42 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/1.008, allocations: 23.98 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/1.008, allocations: 63.45 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.008, allocations: 0 / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.008, allocations: 0 / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.008, allocations: 4.844 kB / 1.273 GB, free: 6.414 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004662/1.009, allocations: 383.9 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.009, allocations: 9.281 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/1.009, allocations: 37.98 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/1.009, allocations: 11.81 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/1.009, allocations: 188.9 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/1.009, allocations: 1.375 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/1.009, allocations: 11.75 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/1.009, allocations: 91.05 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.009, allocations: 4.938 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/1.009, allocations: 0 / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.009, allocations: 1.594 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/1.01, allocations: 80.22 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/1.01, allocations: 327.5 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/1.01, allocations: 56.97 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/1.01, allocations: 42.86 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/1.01, allocations: 2.25 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/1.01, allocations: 32.06 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/1.01, allocations: 0 / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005568/1.011, allocations: 142.8 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/1.011, allocations: 52.47 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/1.011, allocations: 115.9 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/1.011, allocations: 26.7 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/1.011, allocations: 105.4 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/1.011, allocations: 9.625 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/1.011, allocations: 13.48 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.465e-05/1.011, allocations: 326 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/1.011, allocations: 33.64 kB / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/1.011, allocations: 33.72 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/1.012, allocations: 74.38 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.012, allocations: 0 / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003247/1.012, allocations: 106.4 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.012, allocations: 5.312 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.012, allocations: 4.906 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.012, allocations: 1.734 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/1.012, allocations: 14.92 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.012, allocations: 5.031 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/1.012, allocations: 11.48 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/1.012, allocations: 1.484 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.619e-05/1.012, allocations: 119.6 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/1.012, allocations: 6.453 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/1.013, allocations: 118.2 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.013, allocations: 4.906 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/1.013, allocations: 0 / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.013, allocations: 2.5 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/1.013, allocations: 181.3 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.013, allocations: 0 / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/1.013, allocations: 19.75 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.013, allocations: 3.109 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/1.013, allocations: 0 / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.013, allocations: 4.938 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.013, allocations: 0 / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/1.013, allocations: 204.4 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/1.013, allocations: 83.14 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/1.013, allocations: 4.688 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/1.014, allocations: 14.08 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/1.014, allocations: 3.422 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/1.014, allocations: 0.9375 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.607e-05/1.014, allocations: 99.44 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.014, allocations: 0 / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000237/1.014, allocations: 19.08 kB / 1.277 GB, free: 3.781 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005367/1.014, allocations: 0.7292 MB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003625/1.015, allocations: 82.22 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.015, allocations: 0 / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/1.015, allocations: 42.45 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/1.015, allocations: 4.656 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/1.017, allocations: 1.438 MB / 1.279 GB, free: 17.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.017, allocations: 0.6867 MB / 1.279 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.449e-05/1.017, allocations: 12.64 kB / 1.279 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/1.017, allocations: 17.91 kB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/1.017, allocations: 4 kB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/1.041, allocations: 1.808 MB / 1.281 GB, free: 16.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/9.023, allocations: 7.781 kB / 1.281 GB, free: 16.74 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Average.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Average_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_Average.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.351241750991903] Failed to read output from testmodel.py, exit status != 0: 9.090277840994531 9.104810128 8.09318326 Calling exit ...