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.001216/0.001216, allocations: 105.7 kB / 19.59 MB, free: 2.355 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.001316/0.001316, allocations: 193.5 kB / 22.85 MB, free: 5.633 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.344/1.344, allocations: 225.6 MB / 251.5 MB, free: 13.04 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.8675/0.8675, allocations: 144.9 MB / 451.7 MB, free: 5.504 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.7.0/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.001834/0.001834, allocations: 64.86 kB / 0.6256 GB, free: 15.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1552, allocations: 86.71 MB / 0.7103 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002878/0.1581, allocations: 1.538 MB / 0.7118 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.1585, allocations: 120.5 kB / 0.7119 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.1585, allocations: 0 / 0.7119 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.1586, allocations: 3.938 kB / 0.7119 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.869e-05/0.1586, allocations: 3.938 kB / 0.7119 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1588, allocations: 23.98 kB / 0.7119 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.1589, allocations: 35.84 kB / 0.712 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.159, allocations: 11.98 kB / 0.712 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.1591, allocations: 8 kB / 0.712 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.1591, allocations: 15.92 kB / 0.712 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1591, allocations: 4 kB / 0.712 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.1592, allocations: 15.98 kB / 0.712 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.1592, allocations: 11.98 kB / 0.712 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.1592, allocations: 7.938 kB / 0.7121 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.1594, allocations: 39.83 kB / 0.7121 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1594, allocations: 0 / 0.7121 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1594, allocations: 3.938 kB / 0.7121 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1594, allocations: 0 / 0.7121 GB, free: 6.969 MB / 0.5294 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.0004647/0.1598, allocations: 270.2 kB / 0.7124 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1599, allocations: 8.031 kB / 0.7124 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.1599, allocations: 12.88 kB / 0.7124 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.16, allocations: 110.5 kB / 0.7125 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.16, allocations: 8.375 kB / 0.7125 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.16, allocations: 4.375 kB / 0.7125 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1602, allocations: 54.23 kB / 0.7125 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1602, allocations: 192 / 0.7125 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1603, allocations: 3.938 kB / 0.7125 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1603, allocations: 0 / 0.7125 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.1605, allocations: 47.95 kB / 0.7126 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.1609, allocations: 236 kB / 0.7128 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1612, allocations: 62.53 kB / 0.7129 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1613, allocations: 24.83 kB / 0.7129 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.1e-05/0.1614, allocations: 8 kB / 0.7129 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1614, allocations: 30.56 kB / 0.7129 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1614, allocations: 4 kB / 0.7129 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003965/0.1618, allocations: 97.56 kB / 0.713 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1618, allocations: 51.41 kB / 0.7131 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.1619, allocations: 109.8 kB / 0.7132 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1619, allocations: 25.7 kB / 0.7132 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.162, allocations: 80.14 kB / 0.7133 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.162, allocations: 7.953 kB / 0.7133 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.162, allocations: 17.72 kB / 0.7133 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1622, allocations: 314.8 kB / 0.7136 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.1623, allocations: 19.98 kB / 0.7136 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.345e-05/0.1623, allocations: 23.97 kB / 0.7137 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.1625, allocations: 44.77 kB / 0.7137 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1625, allocations: 3.938 kB / 0.7137 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002213/0.1627, allocations: 73.64 kB / 0.7138 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1628, allocations: 8 kB / 0.7138 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1628, allocations: 0 / 0.7138 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1628, allocations: 0 / 0.7138 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.1629, allocations: 15.98 kB / 0.7138 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1629, allocations: 0 / 0.7138 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.1629, allocations: 7.938 kB / 0.7138 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1629, allocations: 3.938 kB / 0.7138 GB, free: 5.027 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 8.638e-05/0.163, allocations: 125.8 kB / 0.7139 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.163, allocations: 3.953 kB / 0.7139 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.1633, allocations: 85.27 kB / 0.714 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1633, allocations: 7.938 kB / 0.714 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1633, allocations: 0 / 0.714 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1633, allocations: 0 / 0.714 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1635, allocations: 140.7 kB / 0.7142 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1635, allocations: 0 / 0.7142 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.736e-05/0.1636, allocations: 11.98 kB / 0.7142 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1636, allocations: 0.5625 kB / 0.7142 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1636, allocations: 0 / 0.7142 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1636, allocations: 4 kB / 0.7142 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1636, allocations: 4 kB / 0.7142 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1639, allocations: 179.4 kB / 0.7143 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.1639, allocations: 3.984 kB / 0.7143 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1639, allocations: 4 kB / 0.7144 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.164, allocations: 4 kB / 0.7144 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.164, allocations: 7.984 kB / 0.7144 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-06/0.164, allocations: 4 kB / 0.7144 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.1641, allocations: 87.27 kB / 0.7145 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1641, allocations: 0 / 0.7145 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002205/0.1643, allocations: 8 kB / 0.7145 GB, free: 4.277 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.0001323/0.1644, allocations: 95.25 kB / 0.7145 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1647, allocations: 43.95 kB / 0.7146 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1647, allocations: 4 kB / 0.7146 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1648, allocations: 27.91 kB / 0.7146 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.165, allocations: 9.969 kB / 0.7146 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.1653, allocations: 135.2 kB / 0.7148 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1656, allocations: 0.6807 MB / 0.7154 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.1656, allocations: 7.438 kB / 0.7154 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.1656, allocations: 0 / 0.7154 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of Templates: time 0.002312/0.168, allocations: 0.752 MB / 0.7162 GB, free: 2.461 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: 7.275246114000765] Failed to read output from testmodel.py, exit status != 0: 0.1753931540006306 0.190227593 0.027886073 Calling exit ...