Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001467/0.001467, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001338/0.001338, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8491/0.8491, allocations: 145 MB / 458.2 MB, free: 15.55 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: BuildSysPro 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.001944/0.001944, allocations: 63.08 kB / 0.6344 GB, free: 6.887 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1542, allocations: 87.89 MB / 0.7202 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002709/0.1569, allocations: 1.542 MB / 0.7217 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.1573, allocations: 128.5 kB / 0.7219 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.1573, allocations: 0 / 0.7219 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.1574, allocations: 4 kB / 0.7219 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.764e-05/0.1574, allocations: 3.938 kB / 0.7219 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.1576, allocations: 19.91 kB / 0.7219 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.1577, allocations: 31.97 kB / 0.7219 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.1578, allocations: 8 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.1578, allocations: 15.92 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.1579, allocations: 19.92 kB / 0.722 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1579, allocations: 8 kB / 0.722 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.1579, allocations: 12 kB / 0.722 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1579, allocations: 7.969 kB / 0.722 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.158, allocations: 19.88 kB / 0.722 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.929e-05/0.1581, allocations: 27.91 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1581, allocations: 0 / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1581, allocations: 0 / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.1581, allocations: 0 / 0.722 GB, free: 13.14 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.0004357/0.1585, allocations: 268.7 kB / 0.7223 GB, free: 12.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1585, allocations: 16.03 kB / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.1586, allocations: 4.891 kB / 0.7223 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1587, allocations: 106.5 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1587, allocations: 384 / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1587, allocations: 8.312 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1589, allocations: 58.22 kB / 0.7225 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1589, allocations: 4.188 kB / 0.7225 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1589, allocations: 3.938 kB / 0.7225 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1589, allocations: 4 kB / 0.7225 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.1591, allocations: 47.89 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1594, allocations: 239.9 kB / 0.7228 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.1597, allocations: 62.45 kB / 0.7228 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.1598, allocations: 28.91 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.56e-05/0.1599, allocations: 7.984 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1599, allocations: 34.5 kB / 0.7229 GB, free: 12.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1599, allocations: 0 / 0.7229 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003587/0.1603, allocations: 89.58 kB / 0.723 GB, free: 12.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1603, allocations: 59.39 kB / 0.723 GB, free: 11.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.1604, allocations: 101.9 kB / 0.7231 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.1604, allocations: 25.7 kB / 0.7231 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.1605, allocations: 88.14 kB / 0.7232 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.1605, allocations: 3.953 kB / 0.7232 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1605, allocations: 21.7 kB / 0.7233 GB, free: 11.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1607, allocations: 314.8 kB / 0.7236 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.1607, allocations: 19.97 kB / 0.7236 GB, free: 11.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.1608, allocations: 23.92 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.161, allocations: 44.81 kB / 0.7236 GB, free: 11.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.161, allocations: 3.938 kB / 0.7236 GB, free: 11.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001976/0.1612, allocations: 77.61 kB / 0.7237 GB, free: 11.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1612, allocations: 4 kB / 0.7237 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1612, allocations: 0 / 0.7237 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1612, allocations: 8 kB / 0.7237 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.1613, allocations: 7.984 kB / 0.7237 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1613, allocations: 4 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.1613, allocations: 7.984 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1613, allocations: 0 / 0.7237 GB, free: 11.2 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.679e-05/0.1614, allocations: 117.7 kB / 0.7239 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1614, allocations: 4 kB / 0.7239 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1617, allocations: 81.33 kB / 0.7239 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1617, allocations: 0 / 0.7239 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1617, allocations: 0 / 0.7239 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1617, allocations: 0 / 0.7239 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1619, allocations: 140.7 kB / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1619, allocations: 0 / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/0.1619, allocations: 12.55 kB / 0.7241 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1619, allocations: 0 / 0.7241 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1619, allocations: 3.938 kB / 0.7241 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1619, allocations: 8 kB / 0.7241 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1619, allocations: 0 / 0.7241 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.1622, allocations: 179.4 kB / 0.7243 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.1622, allocations: 7.891 kB / 0.7243 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1622, allocations: 0 / 0.7243 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.1623, allocations: 11.98 kB / 0.7243 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.1623, allocations: 15.98 kB / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1624, allocations: 0 / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.1624, allocations: 79.28 kB / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1624, allocations: 0 / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002153/0.1626, allocations: 15.94 kB / 0.7244 GB, free: 10.45 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.0001379/0.1627, allocations: 95.25 kB / 0.7245 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.163, allocations: 51.88 kB / 0.7245 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.163, allocations: 0 / 0.7245 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.1631, allocations: 19.98 kB / 0.7246 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.1633, allocations: 11.94 kB / 0.7246 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.1637, allocations: 135.2 kB / 0.7247 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.164, allocations: 0.6729 MB / 0.7253 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.164, allocations: 15.42 kB / 0.7254 GB, free: 9.387 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.164, allocations: 4 kB / 0.7254 GB, free: 9.383 MB / 0.545 GB Notification: Performance of Templates: time 0.002192/0.1662, allocations: 0.7428 MB / 0.7261 GB, free: 8.641 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.138774195918813] Failed to read output from testmodel.py, exit status != 0: 0.17423578700982034 0.187999049 0.027102404 Calling exit ...