Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.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.0008159/0.0008159, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007878/0.0007878, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8535/0.8535, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001377/0.001377, allocations: 233.2 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6647/0.6647, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.001888/0.001908, allocations: 1.56 MB / 0.6478 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003464/0.002254, allocations: 180.3 kB / 0.648 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.002288, allocations: 0 / 0.648 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.002316, allocations: 3.984 kB / 0.648 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.898e-05/0.002355, allocations: 3.938 kB / 0.648 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.002669, allocations: 55.75 kB / 0.6481 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.002738, allocations: 35.92 kB / 0.6481 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.002833, allocations: 8 kB / 0.6481 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2447/0.2475, allocations: 21.78 kB / 0.6481 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.2476, allocations: 16.05 kB / 0.6481 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.2476, allocations: 4.281 kB / 0.6481 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.2478, allocations: 48 kB / 0.6482 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.2478, allocations: 10.39 kB / 0.6482 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.2478, allocations: 13.84 kB / 0.6482 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.248, allocations: 74.72 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.248, allocations: 0 / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.883e-06/0.248, allocations: 1.5 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.248, allocations: 0 / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003563/0.2484, allocations: 280.2 kB / 0.6486 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2484, allocations: 12.78 kB / 0.6486 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.476e-05/0.2484, allocations: 35.62 kB / 0.6486 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.2485, allocations: 5.922 kB / 0.6486 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.927e-05/0.2485, allocations: 112.1 kB / 0.6487 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2485, allocations: 4.641 kB / 0.6487 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2485, allocations: 5.984 kB / 0.6487 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.2487, allocations: 63.5 kB / 0.6488 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2487, allocations: 3.094 kB / 0.6488 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2487, allocations: 1.844 kB / 0.6488 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2487, allocations: 7.031 kB / 0.6488 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.2488, allocations: 45.67 kB / 0.6488 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.2491, allocations: 244 kB / 0.6491 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.2493, allocations: 67.52 kB / 0.6491 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.2494, allocations: 25.41 kB / 0.6492 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.2495, allocations: 12.94 kB / 0.6492 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.086e-05/0.2495, allocations: 32.94 kB / 0.6492 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.2495, allocations: 1.094 kB / 0.6492 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002654/0.2498, allocations: 96.17 kB / 0.6493 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.2498, allocations: 52.81 kB / 0.6493 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/0.2499, allocations: 112.8 kB / 0.6495 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-06/0.2499, allocations: 30.64 kB / 0.6495 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.2499, allocations: 87.22 kB / 0.6496 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.2499, allocations: 7.047 kB / 0.6496 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.2499, allocations: 16.75 kB / 0.6496 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.22e-05/0.25, allocations: 317.7 kB / 0.6499 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.25, allocations: 22.28 kB / 0.6499 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.2501, allocations: 19.39 kB / 0.6499 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.412e-05/0.2502, allocations: 46.58 kB / 0.65 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2502, allocations: 0 / 0.65 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001226/0.2503, allocations: 83.64 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2503, allocations: 5.547 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2503, allocations: 1.781 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2503, allocations: 0.5312 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.2504, allocations: 15.31 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2504, allocations: 0.5156 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.2504, allocations: 11.61 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.2504, allocations: 2.5 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * 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 4.535e-05/0.2505, allocations: 115.1 kB / 0.6502 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.2505, allocations: 4.844 kB / 0.6502 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.2507, allocations: 87.09 kB / 0.6503 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2507, allocations: 0.5 kB / 0.6503 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2507, allocations: 4.344 kB / 0.6503 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2507, allocations: 0.5156 kB / 0.6503 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.431e-05/0.2508, allocations: 139.6 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2508, allocations: 0 / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.2508, allocations: 12 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2508, allocations: 1.406 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2508, allocations: 1.516 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2508, allocations: 1.562 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2508, allocations: 0.7812 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.251, allocations: 177.6 kB / 0.6506 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.251, allocations: 3.922 kB / 0.6506 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.251, allocations: 3.156 kB / 0.6506 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.251, allocations: 7.266 kB / 0.6506 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.2511, allocations: 7.453 kB / 0.6506 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.2511, allocations: 3.062 kB / 0.6506 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.127e-05/0.2511, allocations: 87.72 kB / 0.6507 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2511, allocations: 0.9375 kB / 0.6507 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001742/0.2513, allocations: 24.2 kB / 0.6507 GB, free: 53.84 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * 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.0003264/0.2516, allocations: 0.723 MB / 0.6514 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.2518, allocations: 49.69 kB / 0.6515 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2518, allocations: 0 / 0.6515 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.58e-05/0.2518, allocations: 25.2 kB / 0.6515 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.2521, allocations: 6.141 kB / 0.6515 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009156/0.253, allocations: 1.302 MB / 0.6528 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/0.253, allocations: 66.06 kB / 0.6529 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.2531, allocations: 3.078 kB / 0.6529 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.2531, allocations: 16.73 kB / 0.6529 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of SimCode: time 8.02e-07/0.2531, allocations: 5.906 kB / 0.6529 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.268, allocations: 2.641 MB / 0.6555 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.473/6.741, allocations: 2.344 kB / 0.6555 GB, free: 51.11 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.358610291033983] Failed to read output from testmodel.py, exit status != 0: 6.817933186888695 6.825478667 6.575621593 Calling exit ...