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.0007677/0.0007677, 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.0007437/0.0007437, allocations: 169.9 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.8144/0.8144, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001407/0.001407, allocations: 228.1 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.6599/0.6599, allocations: 138.4 MB / 454.3 MB, free: 29.95 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.283e-06/1.283e-06, allocations: 0 / 0.6463 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.223e-05, allocations: 10.16 kB / 0.6464 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.0009453/0.0009575, allocations: 0.589 MB / 0.6469 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000266/0.001224, allocations: 104.3 kB / 0.647 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.662e-05/0.00124, allocations: 0 / 0.647 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.001265, allocations: 4 kB / 0.647 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.001271, allocations: 3.938 kB / 0.647 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.001579, allocations: 39.83 kB / 0.6471 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.001671, allocations: 63.92 kB / 0.6471 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.001703, allocations: 4 kB / 0.6471 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.001744, allocations: 35.95 kB / 0.6472 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.001775, allocations: 19.95 kB / 0.6472 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.001789, allocations: 4 kB / 0.6472 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.562e-05/0.001885, allocations: 51.94 kB / 0.6472 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.001912, allocations: 19.97 kB / 0.6473 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.001934, allocations: 23.91 kB / 0.6473 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.002053, allocations: 83.81 kB / 0.6474 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002055, allocations: 0 / 0.6474 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002056, allocations: 0 / 0.6474 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002059, allocations: 0 / 0.6474 GB, free: 0.7461 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.0003119/0.002371, allocations: 298.2 kB / 0.6477 GB, free: 432 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.002404, allocations: 13.94 kB / 0.6477 GB, free: 420 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.002434, allocations: 38.75 kB / 0.6477 GB, free: 372 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.002459, allocations: 12.83 kB / 0.6477 GB, free: 360 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.756e-05/0.002506, allocations: 109.7 kB / 0.6478 GB, free: 224 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2204/0.223, allocations: 0.5258 MB / 0.6483 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.223, allocations: 5.969 kB / 0.6483 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2231, allocations: 78.41 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2232, allocations: 2.281 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2232, allocations: 4.656 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2232, allocations: 1.5 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.2234, allocations: 125.7 kB / 0.6485 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.2235, allocations: 145.6 kB / 0.6487 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2237, allocations: 91.06 kB / 0.6488 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.2237, allocations: 42.14 kB / 0.6488 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2238, allocations: 4.062 kB / 0.6488 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.2238, allocations: 33 kB / 0.6488 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.2238, allocations: 1.656 kB / 0.6488 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0003312/0.2241, allocations: 148.5 kB / 0.649 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.2241, allocations: 60.75 kB / 0.649 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.626e-05/0.2242, allocations: 93.73 kB / 0.6491 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.2242, allocations: 26.48 kB / 0.6492 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-06/0.2242, allocations: 82.52 kB / 0.6492 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.2242, allocations: 37.88 kB / 0.6493 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.2243, allocations: 28.67 kB / 0.6493 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.2243, allocations: 319.6 kB / 0.6496 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.2244, allocations: 30.98 kB / 0.6496 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.2244, allocations: 35.06 kB / 0.6497 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2246, allocations: 78 kB / 0.6497 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2246, allocations: 0.8125 kB / 0.6497 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001865/0.2248, allocations: 117.5 kB / 0.6499 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2248, allocations: 6 kB / 0.6499 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2248, allocations: 2.594 kB / 0.6499 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2248, allocations: 0.8125 kB / 0.6499 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.2249, allocations: 23.16 kB / 0.6499 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2249, allocations: 2.078 kB / 0.6499 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.225, allocations: 9.141 kB / 0.6499 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.225, allocations: 5.266 kB / 0.6499 GB, free: 55.72 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 5.207e-05/0.225, allocations: 128.1 kB / 0.65 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.225, allocations: 3.875 kB / 0.65 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.2251, allocations: 10.73 kB / 0.65 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2251, allocations: 1.781 kB / 0.65 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2251, allocations: 1.469 kB / 0.65 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2251, allocations: 2.062 kB / 0.65 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.406e-05/0.2251, allocations: 152.5 kB / 0.6502 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2251, allocations: 0.6875 kB / 0.6502 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.2252, allocations: 26.48 kB / 0.6502 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2252, allocations: 1.406 kB / 0.6502 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2252, allocations: 5.719 kB / 0.6502 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.2252, allocations: 0 / 0.6502 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2252, allocations: 2.156 kB / 0.6502 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.2254, allocations: 146.3 kB / 0.6504 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.2254, allocations: 9.891 kB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2254, allocations: 2.688 kB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.547e-05/0.2255, allocations: 9.922 kB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.2255, allocations: 11.7 kB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.2255, allocations: 5.344 kB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.064e-05/0.2255, allocations: 76.94 kB / 0.6505 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2255, allocations: 0 / 0.6505 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001667/0.2257, allocations: 22.86 kB / 0.6505 GB, free: 55.3 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.000404/0.2261, allocations: 0.7016 MB / 0.6512 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2263, allocations: 87.08 kB / 0.6513 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2263, allocations: 2.172 kB / 0.6513 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.2264, allocations: 46.78 kB / 0.6513 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.731e-05/0.2265, allocations: 7.594 kB / 0.6513 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.2268, allocations: 209.5 kB / 0.6515 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.686e-05/0.2268, allocations: 68.2 kB / 0.6516 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.227, allocations: 39.27 kB / 0.6516 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.227, allocations: 24.11 kB / 0.6516 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/0.227, allocations: 0 / 0.6516 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.2411, allocations: 2.681 MB / 0.6543 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.283/6.524, allocations: 3.25 kB / 0.6543 GB, free: 53.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 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: 8.92188214417547] Failed to read output from testmodel.py, exit status != 0: 6.599713002331555 6.60803037 6.604032435 Calling exit ...