Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.0007327/0.0007327, allocations: 68.47 kB / 19.16 MB, free: 0.7266 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.0008772/0.0008772, allocations: 169.9 kB / 22.46 MB, free: 2.082 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.8546/0.8546, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.00142/0.00142, allocations: 234.8 kB / 259.4 MB, free: 13.02 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.659/0.659, allocations: 138.4 MB / 454.3 MB, free: 29.97 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.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6463 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.302e-05, allocations: 14.22 kB / 0.6464 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001259/0.001282, allocations: 0.5851 MB / 0.6469 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002711/0.001553, allocations: 108.2 kB / 0.647 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.00157, allocations: 0 / 0.647 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.001595, allocations: 0 / 0.647 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.001601, allocations: 4 kB / 0.647 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.001913, allocations: 43.83 kB / 0.6471 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.523e-05/0.002008, allocations: 63.92 kB / 0.6471 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.002044, allocations: 3.984 kB / 0.6471 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.002086, allocations: 27.97 kB / 0.6472 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.002121, allocations: 23.97 kB / 0.6472 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.002136, allocations: 0 / 0.6472 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.002239, allocations: 51.94 kB / 0.6472 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.002269, allocations: 23.95 kB / 0.6473 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.00229, allocations: 19.91 kB / 0.6473 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.002417, allocations: 87.8 kB / 0.6474 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002419, allocations: 4 kB / 0.6474 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00242, allocations: 0 / 0.6474 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002423, allocations: 0 / 0.6474 GB, free: 0.7305 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003344/0.002758, allocations: 298.2 kB / 0.6477 GB, free: 416 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.002795, allocations: 9.938 kB / 0.6477 GB, free: 408 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.002829, allocations: 46.73 kB / 0.6477 GB, free: 352 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.002857, allocations: 8.891 kB / 0.6477 GB, free: 344 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.139e-05/0.002908, allocations: 109.7 kB / 0.6478 GB, free: 208 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2358/0.2387, allocations: 0.5244 MB / 0.6483 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.2387, allocations: 3.938 kB / 0.6483 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.2389, allocations: 83.38 kB / 0.6484 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2389, allocations: 0.8438 kB / 0.6484 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2389, allocations: 3.438 kB / 0.6484 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2389, allocations: 2.156 kB / 0.6484 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.2391, allocations: 125 kB / 0.6485 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.2393, allocations: 146.2 kB / 0.6487 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.2395, allocations: 91.92 kB / 0.6488 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.2395, allocations: 40.78 kB / 0.6488 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.2396, allocations: 5.547 kB / 0.6488 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.2396, allocations: 33.33 kB / 0.6488 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 2.775e-06/0.2396, allocations: 0 / 0.6488 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0003758/0.24, allocations: 150 kB / 0.649 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.24, allocations: 57.61 kB / 0.649 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.388e-05/0.24, allocations: 91.55 kB / 0.6491 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.24, allocations: 30.27 kB / 0.6492 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-06/0.24, allocations: 80.89 kB / 0.6492 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.2401, allocations: 39 kB / 0.6493 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.2401, allocations: 29.45 kB / 0.6493 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.739e-05/0.2402, allocations: 322.8 kB / 0.6496 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.634e-05/0.2402, allocations: 31.31 kB / 0.6496 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.2403, allocations: 32.28 kB / 0.6497 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.2405, allocations: 77.45 kB / 0.6497 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2405, allocations: 0.7188 kB / 0.6497 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001979/0.2407, allocations: 116.8 kB / 0.6499 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2407, allocations: 6.812 kB / 0.6499 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2407, allocations: 0 / 0.6499 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2407, allocations: 1.5 kB / 0.6499 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2408, allocations: 26.97 kB / 0.6499 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2408, allocations: 0.8438 kB / 0.6499 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.2409, allocations: 5.812 kB / 0.6499 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2409, allocations: 6.938 kB / 0.6499 GB, free: 55.19 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.489e-05/0.2409, allocations: 127.5 kB / 0.65 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.241, allocations: 6.391 kB / 0.65 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.241, allocations: 10.88 kB / 0.65 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.241, allocations: 2.031 kB / 0.65 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.241, allocations: 0.8438 kB / 0.65 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.241, allocations: 2.016 kB / 0.65 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.897e-05/0.2411, allocations: 150.4 kB / 0.6502 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2411, allocations: 2.406 kB / 0.6502 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.2412, allocations: 28.34 kB / 0.6502 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2412, allocations: 0.6562 kB / 0.6502 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2412, allocations: 4.656 kB / 0.6502 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2412, allocations: 0.75 kB / 0.6502 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.2412, allocations: 5.25 kB / 0.6502 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.2414, allocations: 144.5 kB / 0.6504 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.2414, allocations: 8.422 kB / 0.6504 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2415, allocations: 2.188 kB / 0.6504 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.2415, allocations: 7.375 kB / 0.6504 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.2415, allocations: 12.69 kB / 0.6504 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2415, allocations: 8.75 kB / 0.6504 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.998e-06/0.2416, allocations: 75.28 kB / 0.6505 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2416, allocations: 0 / 0.6505 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001706/0.2417, allocations: 25.09 kB / 0.6505 GB, free: 54.77 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004635/0.2422, allocations: 0.7059 MB / 0.6512 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.2424, allocations: 82.03 kB / 0.6513 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2424, allocations: 3.438 kB / 0.6513 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.2425, allocations: 50.5 kB / 0.6513 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.2426, allocations: 4.234 kB / 0.6513 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.243, allocations: 210.2 kB / 0.6515 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.243, allocations: 69.36 kB / 0.6516 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.2432, allocations: 42.11 kB / 0.6516 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.2432, allocations: 23.94 kB / 0.6517 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/0.2432, allocations: 0 / 0.6517 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.2578, allocations: 2.669 MB / 0.6543 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.359/6.617, allocations: 7.578 kB / 0.6543 GB, free: 53.12 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.216866596601903] Failed to read output from testmodel.py, exit status != 0: 6.694182933308184 6.705300426 6.700178556 Calling exit ...