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.0009782/0.0009782, allocations: 92.22 kB / 20.46 MB, free: 4.113 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: 157 kB / 23.82 MB, free: 0.75 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 0.9761/0.9761, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.57/0.57, allocations: 110.3 MB / 371 MB, free: 12.44 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.643e-06/1.643e-06, allocations: 0 / 475.2 MB, free: 15.17 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.2e-05, allocations: 3.719 kB / 475.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.001795/0.001817, allocations: 1.568 MB / 476.8 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000266/0.002083, allocations: 126.5 kB / 476.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.002114, allocations: 0 / 476.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.002144, allocations: 3.938 kB / 476.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.002188, allocations: 1.406 kB / 476.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.002424, allocations: 30.58 kB / 476.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.216e-05/0.002486, allocations: 29.91 kB / 477 MB, free: 14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.002571, allocations: 4.031 kB / 477 MB, free: 14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.002622, allocations: 19.39 kB / 477 MB, free: 14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.002662, allocations: 14.3 kB / 477 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.002676, allocations: 5.25 kB / 477 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.002736, allocations: 13.97 kB / 477 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.002748, allocations: 6.688 kB / 477 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.002767, allocations: 10.03 kB / 477 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.901e-05/0.002866, allocations: 31.44 kB / 477.1 MB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002868, allocations: 0 / 477.1 MB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002869, allocations: 0.625 kB / 477.1 MB, free: 13.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.002873, allocations: 3.938 kB / 477.1 MB, free: 13.96 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.0003013/0.003174, allocations: 365 kB / 477.4 MB, free: 13.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.003209, allocations: 12.84 kB / 477.4 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.003246, allocations: 3.625 kB / 477.4 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.209e-05/0.003308, allocations: 118.2 kB / 477.6 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.003327, allocations: 6.938 kB / 477.6 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.003336, allocations: 384 / 477.6 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.00345, allocations: 60.5 kB / 477.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.003458, allocations: 3.031 kB / 477.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.003467, allocations: 3.625 kB / 477.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.003474, allocations: 384 / 477.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.003507, allocations: 20.62 kB / 477.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.003778, allocations: 260.8 kB / 477.9 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.003941, allocations: 47.84 kB / 478 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.003962, allocations: 14.31 kB / 478 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.891e-05/0.004031, allocations: 8.562 kB / 478 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.004044, allocations: 34.42 kB / 478 MB, free: 13.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.004046, allocations: 0 / 478 MB, free: 13.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001388/0.004185, allocations: 56.75 kB / 478.1 MB, free: 12.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.004205, allocations: 52.47 kB / 478.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.004446, allocations: 166.1 kB / 478.3 MB, free: 28.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.004453, allocations: 25.7 kB / 478.3 MB, free: 28.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.004492, allocations: 134.6 kB / 478.4 MB, free: 28.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.004507, allocations: 11.94 kB / 478.4 MB, free: 28.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.004544, allocations: 24.22 kB / 478.5 MB, free: 28.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.004641, allocations: 497.1 kB / 479 MB, free: 28.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.004661, allocations: 5.922 kB / 479 MB, free: 28.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.004673, allocations: 3.75 kB / 479 MB, free: 28.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.004705, allocations: 23.62 kB / 479 MB, free: 28.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004708, allocations: 0 / 479 MB, free: 28.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.87e-05/0.004766, allocations: 42.39 kB / 479 MB, free: 27.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.004779, allocations: 9.344 kB / 479 MB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.004783, allocations: 3.984 kB / 479 MB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.004795, allocations: 2.75 kB / 479 MB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.004843, allocations: 6.312 kB / 479.1 MB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.004847, allocations: 0 / 479.1 MB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.004867, allocations: 8.078 kB / 479.1 MB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.004872, allocations: 4 kB / 479.1 MB, free: 27.98 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 5.663e-05/0.004929, allocations: 155.6 kB / 479.2 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.004943, allocations: 6.734 kB / 479.2 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.949e-05/0.005033, allocations: 61.88 kB / 479.3 MB, free: 27.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005035, allocations: 0 / 479.3 MB, free: 27.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.005039, allocations: 0 / 479.3 MB, free: 27.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005041, allocations: 0 / 479.3 MB, free: 27.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.348e-05/0.005115, allocations: 122 kB / 479.4 MB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.005116, allocations: 0 / 479.4 MB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.005144, allocations: 8.672 kB / 479.4 MB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005146, allocations: 0.8125 kB / 479.4 MB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.005152, allocations: 2.844 kB / 479.4 MB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.005154, allocations: 5.656 kB / 479.4 MB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005155, allocations: 0 / 479.4 MB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.518e-05/0.00524, allocations: 200.3 kB / 479.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-06/0.005245, allocations: 2.656 kB / 479.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.005255, allocations: 0 / 479.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.005285, allocations: 15.19 kB / 479.6 MB, free: 27.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.005327, allocations: 8.281 kB / 479.6 MB, free: 27.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.005331, allocations: 4 kB / 479.6 MB, free: 27.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.364e-05/0.005364, allocations: 125.2 kB / 479.8 MB, free: 27.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005364, allocations: 2.938 kB / 479.8 MB, free: 27.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.005531, allocations: 5.469 kB / 479.8 MB, free: 27.29 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.000108/0.005639, allocations: 100.7 kB / 479.9 MB, free: 27.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.512e-05/0.005724, allocations: 28.88 kB / 479.9 MB, free: 27.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.005725, allocations: 0 / 479.9 MB, free: 27.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.13e-05/0.005746, allocations: 22.16 kB / 479.9 MB, free: 27.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.005912, allocations: 3.5 kB / 479.9 MB, free: 27.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.00613, allocations: 117.9 kB / 480 MB, free: 27.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.331e-05/0.006153, allocations: 55.8 kB / 480.1 MB, free: 26.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.828e-05/0.006171, allocations: 10.05 kB / 480.1 MB, free: 26.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.006194, allocations: 15.69 kB / 480.1 MB, free: 26.97 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.006195, allocations: 0.75 kB / 480.1 MB, free: 26.97 MB / 426.7 MB Notification: Performance of Templates: time 0.00262/0.008815, allocations: 0.8093 MB / 480.9 MB, free: 26.9 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5687467539682984]