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.001366/0.001366, allocations: 80.92 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001015/0.001015, allocations: 165 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9692/0.9692, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.7078/0.7078, allocations: 110.3 MB / 371.3 MB, free: 12.34 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 422.4 MB, free: 9.301 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.356e-05, allocations: 2.312 kB / 422.4 MB, free: 9.297 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002505/0.002529, allocations: 1.632 MB / 424.1 MB, free: 7.648 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003309/0.002859, allocations: 124.5 kB / 424.2 MB, free: 7.523 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.669e-05/0.002896, allocations: 0 / 424.2 MB, free: 7.523 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.002925, allocations: 3.938 kB / 424.2 MB, free: 7.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.002973, allocations: 0 / 424.2 MB, free: 7.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.003194, allocations: 31.84 kB / 424.2 MB, free: 7.488 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.003267, allocations: 35.86 kB / 424.3 MB, free: 7.453 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.728e-05/0.003345, allocations: 7.984 kB / 424.3 MB, free: 7.445 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.003398, allocations: 12 kB / 424.3 MB, free: 7.434 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.003446, allocations: 15.97 kB / 424.3 MB, free: 7.418 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.00346, allocations: 4 kB / 424.3 MB, free: 7.414 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.003538, allocations: 11.98 kB / 424.3 MB, free: 7.402 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.003551, allocations: 4 kB / 424.3 MB, free: 7.398 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.003569, allocations: 15.92 kB / 424.3 MB, free: 7.383 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.003671, allocations: 31.89 kB / 424.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003673, allocations: 0 / 424.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003674, allocations: 0 / 424.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.003677, allocations: 4 kB / 424.4 MB, free: 7.348 MB / 394.7 MB 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.0002873/0.003964, allocations: 237 kB / 424.6 MB, free: 7.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.003997, allocations: 12.02 kB / 424.6 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.004025, allocations: 8.875 kB / 424.6 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.004104, allocations: 109.7 kB / 424.7 MB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.004121, allocations: 4.375 kB / 424.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.004128, allocations: 4.312 kB / 424.7 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.004246, allocations: 66.92 kB / 424.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.004252, allocations: 192 / 424.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.004259, allocations: 4.375 kB / 424.8 MB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004264, allocations: 384 / 424.8 MB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.004291, allocations: 11.92 kB / 424.8 MB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.004507, allocations: 160.2 kB / 425 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.004647, allocations: 30.56 kB / 425 MB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.004665, allocations: 12.92 kB / 425 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.004719, allocations: 7.984 kB / 425 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.004741, allocations: 34.56 kB / 425.1 MB, free: 6.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.004741, allocations: 0 / 425.1 MB, free: 6.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.00012/0.004861, allocations: 53.56 kB / 425.1 MB, free: 6.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.004888, allocations: 51.41 kB / 425.2 MB, free: 6.441 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.004942, allocations: 106.7 kB / 425.3 MB, free: 6.324 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.004953, allocations: 25.7 kB / 425.3 MB, free: 6.293 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.004985, allocations: 88.12 kB / 425.4 MB, free: 6.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.005, allocations: 7.953 kB / 425.4 MB, free: 6.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.005031, allocations: 9.719 kB / 425.4 MB, free: 6.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.005122, allocations: 322.8 kB / 425.7 MB, free: 5.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.005137, allocations: 0 / 425.7 MB, free: 5.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.005148, allocations: 4 kB / 425.7 MB, free: 5.852 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/0.005184, allocations: 16.84 kB / 425.7 MB, free: 5.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005186, allocations: 4 kB / 425.7 MB, free: 5.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.599e-05/0.005252, allocations: 41.62 kB / 425.8 MB, free: 5.781 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.005265, allocations: 8 kB / 425.8 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.00527, allocations: 0 / 425.8 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.005284, allocations: 3.938 kB / 425.8 MB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.005341, allocations: 8 kB / 425.8 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.005345, allocations: 3.984 kB / 425.8 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.005369, allocations: 7.953 kB / 425.8 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.005375, allocations: 4 kB / 425.8 MB, free: 5.746 MB / 394.7 MB 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 6.084e-05/0.005435, allocations: 109.8 kB / 425.9 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.005456, allocations: 0 / 425.9 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.501e-05/0.005541, allocations: 61.75 kB / 426 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.005543, allocations: 3.984 kB / 426 MB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.005546, allocations: 3.984 kB / 426 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005548, allocations: 0 / 426 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.005655, allocations: 65.89 kB / 426 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.005656, allocations: 4 kB / 426.1 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.005692, allocations: 4 kB / 426.1 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.005694, allocations: 0 / 426.1 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.005699, allocations: 4 kB / 426.1 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.0057, allocations: 4 kB / 426.1 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.005703, allocations: 3.984 kB / 426.1 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.394e-05/0.005787, allocations: 139.5 kB / 426.2 MB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.005793, allocations: 7.875 kB / 426.2 MB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.005802, allocations: 0 / 426.2 MB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.005855, allocations: 8 kB / 426.2 MB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.005889, allocations: 3.984 kB / 426.2 MB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.005895, allocations: 7.938 kB / 426.2 MB, free: 5.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.171e-05/0.005907, allocations: 8.844 kB / 426.2 MB, free: 5.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005907, allocations: 0 / 426.2 MB, free: 5.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.006099, allocations: 16 kB / 426.3 MB, free: 5.246 MB / 394.7 MB 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.0001104/0.006209, allocations: 80.42 kB / 426.3 MB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.029e-05/0.006269, allocations: 16.84 kB / 426.4 MB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.006272, allocations: 0 / 426.4 MB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-05/0.006296, allocations: 16.8 kB / 426.4 MB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.006449, allocations: 4 kB / 426.4 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.006667, allocations: 119.7 kB / 426.5 MB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.741e-05/0.006704, allocations: 63.3 kB / 426.5 MB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.216e-05/0.006726, allocations: 0 / 426.5 MB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.006777, allocations: 63.36 kB / 426.6 MB, free: 4.828 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006777, allocations: 0 / 426.6 MB, free: 4.828 MB / 394.7 MB Notification: Performance of Templates: time 0.002618/0.009395, allocations: 0.7619 MB / 427.4 MB, free: 4.066 MB / 394.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2657037819735706]