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.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.001804/0.001804, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.002014/0.002014, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.503/1.503, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9533/0.9533, allocations: 145.2 MB / 448.6 MB, free: 13.71 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 69.27 kB / 0.6211 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1498, allocations: 86.64 MB / 0.7057 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.00314/0.1529, allocations: 1.521 MB / 0.7072 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004133/0.1533, allocations: 136.4 kB / 0.7073 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.1534, allocations: 0 / 0.7073 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.1534, allocations: 0 / 0.7073 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.1534, allocations: 3.938 kB / 0.7073 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1537, allocations: 23.91 kB / 0.7074 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.1538, allocations: 31.92 kB / 0.7074 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1539, allocations: 11.98 kB / 0.7074 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.154, allocations: 11.98 kB / 0.7074 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.154, allocations: 23.86 kB / 0.7074 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1541, allocations: 4 kB / 0.7074 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.1541, allocations: 15.98 kB / 0.7075 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.1541, allocations: 4 kB / 0.7075 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.1542, allocations: 15.92 kB / 0.7075 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1543, allocations: 35.83 kB / 0.7075 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1543, allocations: 0 / 0.7075 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1543, allocations: 0 / 0.7075 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1543, allocations: 0 / 0.7075 GB, free: 0.8477 MB / 0.5137 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.000583/0.1549, allocations: 351.4 kB / 0.7078 GB, free: 464 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1549, allocations: 11.97 kB / 0.7079 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.155, allocations: 4.938 kB / 0.7079 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1551, allocations: 164.3 kB / 0.708 GB, free: 244 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.1552, allocations: 384 / 0.708 GB, free: 244 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1552, allocations: 4.375 kB / 0.708 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1554, allocations: 58.22 kB / 0.7081 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1554, allocations: 8.125 kB / 0.7081 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1554, allocations: 7.922 kB / 0.7081 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1554, allocations: 4 kB / 0.7081 GB, free: 156 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.1556, allocations: 39.95 kB / 0.7081 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.156, allocations: 257 kB / 0.7084 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.1564, allocations: 58.47 kB / 0.7084 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1565, allocations: 32.84 kB / 0.7085 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.1566, allocations: 85.09 kB / 0.7085 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1567, allocations: 30.56 kB / 0.7086 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1567, allocations: 0 / 0.7086 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004169/0.1571, allocations: 89.62 kB / 0.7087 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1571, allocations: 55.41 kB / 0.7087 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.034e-05/0.1572, allocations: 105.8 kB / 0.7088 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1572, allocations: 25.7 kB / 0.7088 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.1573, allocations: 88.12 kB / 0.7089 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.1573, allocations: 3.953 kB / 0.7089 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1573, allocations: 17.72 kB / 0.7089 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1575, allocations: 314.8 kB / 0.7092 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.1576, allocations: 27.84 kB / 0.7093 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.1577, allocations: 19.98 kB / 0.7093 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1579, allocations: 44.81 kB / 0.7093 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1579, allocations: 3.938 kB / 0.7093 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002267/0.1581, allocations: 73.66 kB / 0.7094 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1581, allocations: 4 kB / 0.7094 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1581, allocations: 4 kB / 0.7094 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1581, allocations: 7.984 kB / 0.7094 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.1582, allocations: 4 kB / 0.7094 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1582, allocations: 7.938 kB / 0.7094 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.1583, allocations: 11.92 kB / 0.7094 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1583, allocations: 4 kB / 0.7094 GB, free: 14.61 MB / 0.5294 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 9.742e-05/0.1584, allocations: 117.7 kB / 0.7096 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.1584, allocations: 7.953 kB / 0.7096 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.1587, allocations: 81.66 kB / 0.7096 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1587, allocations: 3.984 kB / 0.7096 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1587, allocations: 0 / 0.7096 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1587, allocations: 0 / 0.7096 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1589, allocations: 161.6 kB / 0.7098 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1589, allocations: 4.031 kB / 0.7098 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.159, allocations: 15.98 kB / 0.7098 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.159, allocations: 0 / 0.7098 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.159, allocations: 7.984 kB / 0.7098 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.159, allocations: 7.938 kB / 0.7098 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.159, allocations: 0 / 0.7098 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.1593, allocations: 163.5 kB / 0.71 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.1593, allocations: 81.11 kB / 0.7101 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1593, allocations: 3.984 kB / 0.7101 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.1594, allocations: 8 kB / 0.7101 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.1595, allocations: 11.98 kB / 0.7101 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1595, allocations: 0 / 0.7101 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.1595, allocations: 79.28 kB / 0.7102 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1595, allocations: 0 / 0.7102 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002302/0.1598, allocations: 4 kB / 0.7102 GB, free: 13.77 MB / 0.5294 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.0001877/0.16, allocations: 111.1 kB / 0.7103 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1602, allocations: 51.89 kB / 0.7103 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1602, allocations: 0 / 0.7103 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1603, allocations: 19.98 kB / 0.7103 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.1606, allocations: 14.27 kB / 0.7104 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.1609, allocations: 139.1 kB / 0.7105 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1612, allocations: 0.6806 MB / 0.7112 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.1613, allocations: 15.44 kB / 0.7112 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1613, allocations: 0 / 0.7112 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.002552/0.1638, allocations: 0.7551 MB / 0.7119 GB, free: 11.93 MB / 0.5294 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: 8.337935458868742] Failed to read output from testmodel.py, exit status != 0: 0.1712185509968549 0.18484061300000001 0.027658501000000002 Calling exit ...