Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 185.5 kB / 22.98 MB, free: 5.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8918/0.8918, allocations: 149.6 MB / 456.6 MB, free: 1.234 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 64.95 kB / 0.6329 GB, free: 9.02 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1634, allocations: 87.87 MB / 0.7187 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002859/0.1662, allocations: 1.518 MB / 0.7201 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003746/0.1666, allocations: 131.5 kB / 0.7203 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.1666, allocations: 0 / 0.7203 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.1667, allocations: 7.922 kB / 0.7203 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.718e-05/0.1667, allocations: 0 / 0.7203 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1669, allocations: 27.91 kB / 0.7203 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.167, allocations: 27.92 kB / 0.7203 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.1671, allocations: 8 kB / 0.7203 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.1671, allocations: 15.92 kB / 0.7204 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.1672, allocations: 19.91 kB / 0.7204 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1672, allocations: 4 kB / 0.7204 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.561e-05/0.1673, allocations: 16 kB / 0.7204 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.1673, allocations: 7.984 kB / 0.7204 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.1673, allocations: 11.94 kB / 0.7204 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1675, allocations: 35.88 kB / 0.7204 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1675, allocations: 0 / 0.7204 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1675, allocations: 0 / 0.7204 GB, free: 15.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1675, allocations: 0 / 0.7204 GB, free: 15.23 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004497/0.1679, allocations: 270.2 kB / 0.7207 GB, free: 14.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.168, allocations: 16.62 kB / 0.7207 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.168, allocations: 0.9375 kB / 0.7207 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1681, allocations: 114.5 kB / 0.7208 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1681, allocations: 384 / 0.7208 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1682, allocations: 384 / 0.7208 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1684, allocations: 66.22 kB / 0.7209 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1684, allocations: 192 / 0.7209 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1684, allocations: 3.938 kB / 0.7209 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1684, allocations: 0 / 0.7209 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.1685, allocations: 43.95 kB / 0.7209 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.1689, allocations: 236 kB / 0.7212 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1692, allocations: 62.41 kB / 0.7212 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.1693, allocations: 28.89 kB / 0.7213 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.18e-05/0.1694, allocations: 11.98 kB / 0.7213 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1694, allocations: 34.56 kB / 0.7213 GB, free: 14.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1694, allocations: 0 / 0.7213 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.00039/0.1698, allocations: 93.56 kB / 0.7214 GB, free: 14.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1699, allocations: 51.41 kB / 0.7214 GB, free: 14.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.17, allocations: 101.9 kB / 0.7215 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.17, allocations: 29.7 kB / 0.7216 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.17, allocations: 84.12 kB / 0.7216 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.17, allocations: 11.89 kB / 0.7217 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.1701, allocations: 13.72 kB / 0.7217 GB, free: 13.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1702, allocations: 314.8 kB / 0.722 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.1703, allocations: 19.97 kB / 0.722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.042e-05/0.1704, allocations: 23.98 kB / 0.722 GB, free: 13.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1705, allocations: 44.81 kB / 0.7221 GB, free: 13.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1706, allocations: 3.938 kB / 0.7221 GB, free: 13.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002069/0.1708, allocations: 81.55 kB / 0.7221 GB, free: 13.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1708, allocations: 4 kB / 0.7221 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1708, allocations: 0 / 0.7221 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1708, allocations: 0 / 0.7221 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.1709, allocations: 15.98 kB / 0.7222 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1709, allocations: 0 / 0.7222 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.1709, allocations: 7.984 kB / 0.7222 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1709, allocations: 4 kB / 0.7222 GB, free: 13.29 MB / 0.545 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 (rea2Int.y,fac.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.432e-05/0.171, allocations: 109.8 kB / 0.7223 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.171, allocations: 0 / 0.7223 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.1713, allocations: 93.27 kB / 0.7224 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1713, allocations: 0 / 0.7224 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1713, allocations: 0 / 0.7224 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1713, allocations: 7.922 kB / 0.7224 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1715, allocations: 136.7 kB / 0.7225 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1715, allocations: 0 / 0.7225 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.1716, allocations: 11.98 kB / 0.7225 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1716, allocations: 3.938 kB / 0.7225 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1716, allocations: 4 kB / 0.7225 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1716, allocations: 0 / 0.7225 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1716, allocations: 8.547 kB / 0.7225 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.1719, allocations: 175.4 kB / 0.7227 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.1719, allocations: 8.031 kB / 0.7227 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1719, allocations: 0 / 0.7227 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.172, allocations: 7.984 kB / 0.7227 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.172, allocations: 11.92 kB / 0.7227 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.172, allocations: 8 kB / 0.7227 GB, free: 12.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.1721, allocations: 75.28 kB / 0.7228 GB, free: 12.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1721, allocations: 4 kB / 0.7228 GB, free: 12.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002115/0.1723, allocations: 4 kB / 0.7228 GB, free: 12.55 MB / 0.545 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.y,rea2Int.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.0001625/0.1724, allocations: 103.2 kB / 0.7229 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.1727, allocations: 47.95 kB / 0.7229 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1727, allocations: 4 kB / 0.723 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.306e-05/0.1728, allocations: 19.98 kB / 0.723 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.173, allocations: 15.86 kB / 0.723 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.1734, allocations: 117.6 kB / 0.7231 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1737, allocations: 0.6768 MB / 0.7238 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.1737, allocations: 8 kB / 0.7238 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.1737, allocations: 7.438 kB / 0.7238 GB, free: 11.49 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.1737, allocations: 0 / 0.7238 GB, free: 11.49 MB / 0.545 GB Notification: Performance of Templates: time 0.003313/0.1771, allocations: 0.7256 MB / 0.7245 GB, free: 10.77 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.105295417830348] Failed to read output from testmodel.py, exit status != 0: 0.1851776447147131 0.19868089500000002 0.028421126 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f029e9397b0>