Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.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.001323/0.001323, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001444/0.001444, allocations: 212 kB / 23.74 MB, free: 4.445 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.9592/0.9592, allocations: 149.9 MB / 463.8 MB, free: 10.33 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: translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") [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.002083/0.002083, allocations: 70.09 kB / 0.6423 GB, free: 9.59 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1674, allocations: 89.17 MB / 0.7294 GB, free: 492 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001762/0.1692, allocations: 0.5898 MB / 0.73 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002627/0.1694, allocations: 47.86 kB / 0.73 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.853e-05/0.1694, allocations: 0 / 0.73 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.1695, allocations: 0 / 0.73 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.1695, allocations: 0 / 0.73 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1697, allocations: 15.94 kB / 0.73 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.488e-05/0.1697, allocations: 4 kB / 0.7301 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.1698, allocations: 3.984 kB / 0.7301 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.1698, allocations: 7.922 kB / 0.7301 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.839e-05/0.1698, allocations: 4 kB / 0.7301 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.1698, allocations: 0 / 0.7301 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-05/0.1699, allocations: 8 kB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.1699, allocations: 4 kB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.1699, allocations: 0 / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.17, allocations: 15.97 kB / 0.7301 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.17, allocations: 0 / 0.7301 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.17, allocations: 4 kB / 0.7301 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.17, allocations: 0 / 0.7301 GB, free: 15.78 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003081/0.1703, allocations: 242.3 kB / 0.7303 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1704, allocations: 8.031 kB / 0.7303 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.1704, allocations: 0.9375 kB / 0.7303 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.803e-05/0.1705, allocations: 118.5 kB / 0.7305 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1705, allocations: 384 / 0.7305 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1705, allocations: 4.375 kB / 0.7305 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1706, allocations: 34.25 kB / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1706, allocations: 192 / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1706, allocations: 7.875 kB / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1706, allocations: 0 / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.1707, allocations: 4 kB / 0.7305 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.1708, allocations: 101.3 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.1709, allocations: 22.55 kB / 0.7306 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.1709, allocations: 12.84 kB / 0.7306 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.171, allocations: 4.062 kB / 0.7306 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.171, allocations: 38.56 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.171, allocations: 0 / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.1712, allocations: 45.62 kB / 0.7307 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1712, allocations: 51.41 kB / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.047e-05/0.1713, allocations: 89.86 kB / 0.7308 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1713, allocations: 25.7 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.1713, allocations: 84.14 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.1714, allocations: 3.953 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1714, allocations: 21.66 kB / 0.731 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1715, allocations: 311 kB / 0.7313 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.1715, allocations: 7.984 kB / 0.7313 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.1715, allocations: 4 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.1716, allocations: 12.86 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1716, allocations: 0 / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.908e-05/0.1716, allocations: 33.7 kB / 0.7313 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1716, allocations: 9.875 kB / 0.7313 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1717, allocations: 3.984 kB / 0.7313 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1717, allocations: 0 / 0.7313 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.1717, allocations: 7.938 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1717, allocations: 8.031 kB / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.1717, allocations: 0 / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.1717, allocations: 3.938 kB / 0.7314 GB, free: 14.31 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.806e-05/0.1718, allocations: 109.8 kB / 0.7315 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.1718, allocations: 4 kB / 0.7315 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/0.1719, allocations: 44.84 kB / 0.7315 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1719, allocations: 3.938 kB / 0.7315 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1719, allocations: 0 / 0.7315 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1719, allocations: 0 / 0.7315 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.158e-05/0.172, allocations: 93.36 kB / 0.7316 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.172, allocations: 8 kB / 0.7316 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.172, allocations: 3.984 kB / 0.7316 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.172, allocations: 0 / 0.7316 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.172, allocations: 4 kB / 0.7316 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.172, allocations: 4 kB / 0.7316 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1721, allocations: 7.875 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.132e-05/0.1721, allocations: 65.06 kB / 0.7317 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.1721, allocations: 11.94 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.1722, allocations: 0 / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.1722, allocations: 0 / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.1722, allocations: 7.969 kB / 0.7317 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.1722, allocations: 0 / 0.7317 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.1722, allocations: 83.28 kB / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1722, allocations: 0 / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001909/0.1724, allocations: 4 kB / 0.7318 GB, free: 13.8 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001473/0.1726, allocations: 103.2 kB / 0.7319 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.451e-05/0.1726, allocations: 7.938 kB / 0.7319 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1726, allocations: 0 / 0.7319 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-06/0.1727, allocations: 8.062 kB / 0.7319 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1728, allocations: 8 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.173, allocations: 110.6 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.881e-05/0.1731, allocations: 55.36 kB / 0.7321 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.1731, allocations: 7.438 kB / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1731, allocations: 0 / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.001903/0.175, allocations: 460.5 kB / 0.7325 GB, free: 12.99 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9000374507158995] Failed to read output from testmodel.py, exit status != 0: 0.18305224226787686 0.19805498000000002 0.024927475 Calling exit ...