Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.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.001431/0.001431, allocations: 119 kB / 19.69 MB, free: 2.199 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.001499/0.001499, allocations: 221.2 kB / 23.01 MB, free: 5.047 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.9859/0.9859, allocations: 150 MB / 463.2 MB, free: 10.48 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.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",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.002034/0.002034, allocations: 65.75 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.226, allocations: 89.18 MB / 0.7284 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.003188/0.2292, allocations: 1.566 MB / 0.7299 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004666/0.2297, allocations: 131.6 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.2297, allocations: 4 kB / 0.73 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.2297, allocations: 7.922 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.2298, allocations: 3.938 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.2301, allocations: 35.89 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.804e-05/0.2302, allocations: 31.92 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.2303, allocations: 8 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.2304, allocations: 23.91 kB / 0.7301 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.2304, allocations: 23.92 kB / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2304, allocations: 0 / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.593e-05/0.2305, allocations: 19.98 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.2306, allocations: 11.98 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.2306, allocations: 19.86 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.2307, allocations: 44.09 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2307, allocations: 0 / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2307, allocations: 7.938 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2307, allocations: 0 / 0.7302 GB, free: 15.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004833/0.2312, allocations: 274.3 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2313, allocations: 12.03 kB / 0.7305 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.2313, allocations: 30.75 kB / 0.7305 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.2313, allocations: 4.891 kB / 0.7305 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2315, allocations: 118.4 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.2315, allocations: 8.375 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.2315, allocations: 4.312 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.2317, allocations: 62.22 kB / 0.7307 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2317, allocations: 3.938 kB / 0.7307 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2317, allocations: 11.98 kB / 0.7307 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2317, allocations: 0 / 0.7307 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.2319, allocations: 43.95 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.2324, allocations: 247.8 kB / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.2327, allocations: 58.55 kB / 0.7311 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.2328, allocations: 28.89 kB / 0.7311 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.2329, allocations: 15.98 kB / 0.7311 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.233, allocations: 34.56 kB / 0.7312 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.233, allocations: 0 / 0.7312 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004157/0.2334, allocations: 101.6 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2334, allocations: 51.41 kB / 0.7313 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2335, allocations: 109.8 kB / 0.7314 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.2336, allocations: 33.7 kB / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.2336, allocations: 80.14 kB / 0.7315 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.2336, allocations: 7.953 kB / 0.7315 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.2337, allocations: 17.7 kB / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.2339, allocations: 322.8 kB / 0.7318 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.102e-05/0.234, allocations: 15.98 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.448e-05/0.234, allocations: 23.97 kB / 0.7319 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.2342, allocations: 49.08 kB / 0.7319 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2342, allocations: 4 kB / 0.7319 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002318/0.2344, allocations: 73.59 kB / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2345, allocations: 14.5 kB / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2345, allocations: 0 / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2345, allocations: 0 / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.2346, allocations: 11.98 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2346, allocations: 4 kB / 0.732 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.2346, allocations: 11.92 kB / 0.732 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.2346, allocations: 0 / 0.732 GB, free: 13.25 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: 2 (falFac.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 8.944e-05/0.2347, allocations: 113.8 kB / 0.7322 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.2348, allocations: 11.95 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.2351, allocations: 93.45 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2351, allocations: 0 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2351, allocations: 0 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2351, allocations: 0 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.2353, allocations: 144.7 kB / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2353, allocations: 0 / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.2353, allocations: 11.98 kB / 0.7324 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2353, allocations: 4 kB / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.2354, allocations: 4 kB / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2354, allocations: 0 / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2354, allocations: 0 / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.2356, allocations: 179.3 kB / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.2356, allocations: 0 / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.2357, allocations: 0 / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.2357, allocations: 15.98 kB / 0.7326 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.2358, allocations: 7.984 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.2358, allocations: 0 / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.2359, allocations: 87.28 kB / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2359, allocations: 0 / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002295/0.2361, allocations: 8 kB / 0.7327 GB, free: 12.5 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: 2 (rea2Int.y,falFac.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.000662/0.2368, allocations: 0.7163 MB / 0.7334 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.237, allocations: 48.08 kB / 0.7334 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.237, allocations: 0 / 0.7334 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.2371, allocations: 23.98 kB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2374, allocations: 6.703 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.2391, allocations: 1.292 MB / 0.7347 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.2395, allocations: 0.6845 MB / 0.7354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.2395, allocations: 7.938 kB / 0.7354 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.2395, allocations: 19.42 kB / 0.7354 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.2395, allocations: 0 / 0.7354 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.272, allocations: 1.807 MB / 0.7372 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.27, allocations: 9.984 kB / 0.7372 GB, free: 7.898 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.00168522587046] Failed to read output from testmodel.py, exit status != 0: 11.374070167075843 11.391296675 11.157232855 Calling exit ...