Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001304/0.001304, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001619/0.001619, allocations: 215.5 kB / 23.78 MB, free: 4.523 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.534/1.534, allocations: 230.6 MB / 257.6 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9594/0.9594, allocations: 150 MB / 463.9 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002017/0.002017, allocations: 63.5 kB / 0.642 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2053, allocations: 89.19 MB / 0.7291 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001908/0.2072, allocations: 0.5818 MB / 0.7297 GB, free: 208 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003913/0.2076, allocations: 103.6 kB / 0.7298 GB, free: 104 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.796e-05/0.2076, allocations: 0 / 0.7298 GB, free: 104 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.2076, allocations: 0 / 0.7298 GB, free: 104 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-06/0.2077, allocations: 0 / 0.7298 GB, free: 104 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.208, allocations: 43.88 kB / 0.7298 GB, free: 60 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.2081, allocations: 63.98 kB / 0.7299 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.2082, allocations: 0 / 0.7299 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.2082, allocations: 23.92 kB / 0.7299 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.2083, allocations: 27.97 kB / 0.7299 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2083, allocations: 0 / 0.7299 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.2084, allocations: 63.88 kB / 0.73 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.2085, allocations: 19.92 kB / 0.73 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.2085, allocations: 19.92 kB / 0.73 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.2087, allocations: 80.03 kB / 0.7301 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2087, allocations: 0 / 0.7301 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2087, allocations: 0 / 0.7301 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2087, allocations: 0 / 0.7301 GB, free: 15.77 MB / 0.5606 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.0005345/0.2092, allocations: 294.3 kB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2093, allocations: 12.03 kB / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.342e-05/0.2093, allocations: 4.188 kB / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.2094, allocations: 46.73 kB / 0.7304 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.2094, allocations: 4.938 kB / 0.7304 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.353e-05/0.2095, allocations: 110.5 kB / 0.7305 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/0.21, allocations: 0.526 MB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.21, allocations: 8.312 kB / 0.7311 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.2102, allocations: 85.7 kB / 0.7311 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2103, allocations: 4 kB / 0.7311 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2103, allocations: 0 / 0.7311 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2103, allocations: 7.984 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.2107, allocations: 143.7 kB / 0.7313 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.2109, allocations: 136.8 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.2112, allocations: 94.52 kB / 0.7315 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.2113, allocations: 36.84 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2114, allocations: 7.922 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.2114, allocations: 38.5 kB / 0.7316 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.2114, allocations: 0 / 0.7316 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005505/0.212, allocations: 149.8 kB / 0.7317 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.212, allocations: 51.41 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.212, allocations: 89.86 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2121, allocations: 33.7 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.2121, allocations: 80.14 kB / 0.732 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.2122, allocations: 35.7 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.2122, allocations: 29.69 kB / 0.732 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.2124, allocations: 318.8 kB / 0.7323 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2125, allocations: 27.97 kB / 0.7324 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2126, allocations: 39.91 kB / 0.7324 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.2129, allocations: 66.47 kB / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.2129, allocations: 7.984 kB / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003705/0.2133, allocations: 121.5 kB / 0.7326 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2133, allocations: 8 kB / 0.7326 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2133, allocations: 0 / 0.7326 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2133, allocations: 0 / 0.7326 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2135, allocations: 23.92 kB / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2135, allocations: 0 / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.2136, allocations: 15.92 kB / 0.7326 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2136, allocations: 4 kB / 0.7326 GB, free: 12.83 MB / 0.5606 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 0.0001008/0.2137, allocations: 117.8 kB / 0.7327 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.2137, allocations: 7.938 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.2137, allocations: 11.91 kB / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2137, allocations: 0 / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2138, allocations: 0 / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2138, allocations: 4 kB / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.2139, allocations: 148.7 kB / 0.7329 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2139, allocations: 3.938 kB / 0.7329 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.214, allocations: 31.91 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.214, allocations: 0 / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2141, allocations: 0 / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2141, allocations: 7.875 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2141, allocations: 7.984 kB / 0.733 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.2144, allocations: 140.4 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.2144, allocations: 11.89 kB / 0.7331 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2145, allocations: 0 / 0.7331 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.2145, allocations: 15.98 kB / 0.7331 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.2146, allocations: 7.984 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2146, allocations: 7.984 kB / 0.7331 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.2146, allocations: 75.28 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2146, allocations: 0 / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000229/0.2149, allocations: 23.94 kB / 0.7332 GB, free: 12.14 MB / 0.5606 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.0008008/0.2157, allocations: 0.6982 MB / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.216, allocations: 91.81 kB / 0.734 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.216, allocations: 0 / 0.734 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2162, allocations: 39.97 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.2163, allocations: 6.344 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.2169, allocations: 198.4 kB / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.032e-05/0.217, allocations: 75.27 kB / 0.7343 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.2172, allocations: 35.97 kB / 0.7343 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.2172, allocations: 23.42 kB / 0.7344 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.2172, allocations: 0 / 0.7344 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.2402, allocations: 2.199 MB / 0.7365 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.57, allocations: 11.42 kB / 0.7365 GB, free: 8.848 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.408602344919927] Failed to read output from testmodel.py, exit status != 0: 11.73399849398993 11.759789072 11.545971226 Calling exit ...