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.00184/0.00184, allocations: 84.39 kB / 20.23 MB, free: 4.199 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.001608/0.001608, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 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 1.519/1.519, allocations: 177.2 MB / 203.9 MB, free: 5.574 MB / 186.7 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.9135/0.9135, allocations: 110.3 MB / 370.6 MB, free: 12.46 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 2.445e-06/2.445e-06, allocations: 6.781 kB / 474.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.305e-05, allocations: 2.312 kB / 474.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002101/0.002124, allocations: 1.528 MB / 476 MB, free: 14.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003117/0.002436, allocations: 127.3 kB / 476.1 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.002471, allocations: 0 / 476.1 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.002498, allocations: 5.156 kB / 476.1 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.00254, allocations: 2.406 kB / 476.1 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.002756, allocations: 23.72 kB / 476.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.002814, allocations: 30.31 kB / 476.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.002892, allocations: 10.83 kB / 476.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.002937, allocations: 16.83 kB / 476.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.002978, allocations: 14.39 kB / 476.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.002993, allocations: 2.75 kB / 476.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.003049, allocations: 16 kB / 476.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.003061, allocations: 9.797 kB / 476.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.003085, allocations: 6.594 kB / 476.3 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.003199, allocations: 40.08 kB / 476.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003201, allocations: 0 / 476.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003202, allocations: 1.75 kB / 476.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.003206, allocations: 0 / 476.3 MB, free: 14.05 MB / 410.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.0003582/0.003564, allocations: 271.3 kB / 476.6 MB, free: 13.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.003595, allocations: 7.875 kB / 476.6 MB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.003637, allocations: 8.578 kB / 476.6 MB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.423e-05/0.003701, allocations: 108.3 kB / 476.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.003721, allocations: 7.188 kB / 476.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.003731, allocations: 384 / 476.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.003916, allocations: 57.33 kB / 476.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.003925, allocations: 192 / 476.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.003937, allocations: 384 / 476.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003942, allocations: 1.531 kB / 476.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.004142, allocations: 46.34 kB / 476.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.004471, allocations: 212.4 kB / 477 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.004808, allocations: 52.95 kB / 477.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.004907, allocations: 25.97 kB / 477.1 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.98e-05/0.005007, allocations: 12.67 kB / 477.1 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.005024, allocations: 37.12 kB / 477.1 MB, free: 13.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.005026, allocations: 0 / 477.1 MB, free: 13.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000423/0.005449, allocations: 98.84 kB / 477.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.005479, allocations: 51.41 kB / 477.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.278e-05/0.005542, allocations: 102.5 kB / 477.4 MB, free: 13.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.005554, allocations: 25.7 kB / 477.4 MB, free: 13.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.005589, allocations: 90.72 kB / 477.5 MB, free: 12.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.005605, allocations: 11.27 kB / 477.5 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.005639, allocations: 14.97 kB / 477.5 MB, free: 12.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003186/0.005958, allocations: 314.8 kB / 477.8 MB, free: 28.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.00606, allocations: 22.66 kB / 477.8 MB, free: 28.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.006135, allocations: 17.11 kB / 477.9 MB, free: 28.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.006296, allocations: 52.36 kB / 477.9 MB, free: 28.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006297, allocations: 0 / 477.9 MB, free: 28.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001985/0.006496, allocations: 75.67 kB / 478 MB, free: 28.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.00651, allocations: 10.91 kB / 478 MB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.006515, allocations: 0 / 478 MB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.006534, allocations: 0 / 478 MB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.006612, allocations: 11.88 kB / 478 MB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006618, allocations: 2.625 kB / 478 MB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.006672, allocations: 10.48 kB / 478 MB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.006677, allocations: 1.375 kB / 478 MB, free: 28.55 MB / 426.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 8.59e-05/0.006763, allocations: 112.5 kB / 478.1 MB, free: 28.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.006791, allocations: 2.625 kB / 478.1 MB, free: 28.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.007042, allocations: 89.89 kB / 478.2 MB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007044, allocations: 0 / 478.2 MB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.007048, allocations: 1.906 kB / 478.2 MB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.00705, allocations: 0 / 478.2 MB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.589e-05/0.007146, allocations: 108.5 kB / 478.3 MB, free: 28.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007148, allocations: 4 kB / 478.3 MB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.007221, allocations: 14.39 kB / 478.3 MB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007223, allocations: 0.7812 kB / 478.3 MB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.007229, allocations: 0 / 478.3 MB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.007231, allocations: 7.375 kB / 478.4 MB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007232, allocations: 3.938 kB / 478.4 MB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.007487, allocations: 173.5 kB / 478.5 MB, free: 28.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-06/0.007494, allocations: 2.625 kB / 478.5 MB, free: 28.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.007508, allocations: 7.375 kB / 478.5 MB, free: 28.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.007592, allocations: 9.188 kB / 478.5 MB, free: 28.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.00764, allocations: 5.953 kB / 478.6 MB, free: 28.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.007644, allocations: 0.625 kB / 478.6 MB, free: 28.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.341e-05/0.007698, allocations: 85.14 kB / 478.6 MB, free: 28.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007698, allocations: 3.125 kB / 478.6 MB, free: 28.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.007931, allocations: 5.75 kB / 478.6 MB, free: 28.02 MB / 426.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.0001262/0.008057, allocations: 98.34 kB / 478.7 MB, free: 27.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.008273, allocations: 46.55 kB / 478.8 MB, free: 27.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008275, allocations: 4.219 kB / 478.8 MB, free: 27.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.008364, allocations: 27.77 kB / 478.8 MB, free: 27.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.008613, allocations: 5.031 kB / 478.8 MB, free: 27.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.008891, allocations: 121.8 kB / 478.9 MB, free: 27.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.008932, allocations: 67.12 kB / 479 MB, free: 27.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.008964, allocations: 8.297 kB / 479 MB, free: 27.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.008995, allocations: 11.12 kB / 479 MB, free: 27.71 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008995, allocations: 0 / 479 MB, free: 27.71 MB / 426.7 MB Notification: Performance of Templates: time 0.003065/0.01206, allocations: 0.7699 MB / 479.8 MB, free: 27.65 MB / 426.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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.517043894971721]