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.0009519/0.0009519, allocations: 88.23 kB / 20.45 MB, free: 4.117 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.0009937/0.0009937, allocations: 161 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 1.042/1.042, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6182/0.6182, allocations: 110.2 MB / 371 MB, free: 12.54 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.813e-06/1.813e-06, allocations: 0 / 475.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.716e-05, allocations: 7.391 kB / 475.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.001875/0.001902, allocations: 1.567 MB / 476.8 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002844/0.002187, allocations: 131.9 kB / 476.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.002221, allocations: 0 / 476.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.00225, allocations: 7.406 kB / 476.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.002293, allocations: 1.781 kB / 476.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.002545, allocations: 22.2 kB / 476.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.002609, allocations: 32.88 kB / 476.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.002698, allocations: 11.05 kB / 477 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.00275, allocations: 20.73 kB / 477 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.002791, allocations: 9.25 kB / 477 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.002808, allocations: 3.688 kB / 477 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.002868, allocations: 12.78 kB / 477 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.002882, allocations: 10.77 kB / 477 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.002902, allocations: 11.3 kB / 477 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003017, allocations: 30.36 kB / 477.1 MB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003019, allocations: 0 / 477.1 MB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00302, allocations: 1 kB / 477.1 MB, free: 14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.003024, allocations: 0 / 477.1 MB, free: 14 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.0003315/0.003356, allocations: 367.9 kB / 477.4 MB, free: 13.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.003394, allocations: 9.125 kB / 477.4 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.003429, allocations: 4.156 kB / 477.4 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.074e-05/0.0035, allocations: 116.8 kB / 477.5 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.003522, allocations: 2.969 kB / 477.5 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.003536, allocations: 7.062 kB / 477.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.003663, allocations: 57.23 kB / 477.6 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.003673, allocations: 192 / 477.6 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.003683, allocations: 6.094 kB / 477.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.003691, allocations: 384 / 477.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.003727, allocations: 19.06 kB / 477.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.003993, allocations: 260.8 kB / 477.9 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.00416, allocations: 54.02 kB / 477.9 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.004183, allocations: 15.75 kB / 478 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.903e-05/0.004262, allocations: 5.031 kB / 478 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.004278, allocations: 39.56 kB / 478 MB, free: 13.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004279, allocations: 0 / 478 MB, free: 13.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001473/0.004426, allocations: 55.12 kB / 478.1 MB, free: 13.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.004445, allocations: 52.75 kB / 478.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.537e-05/0.004491, allocations: 167 kB / 478.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.004498, allocations: 25.7 kB / 478.3 MB, free: 12.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.004759, allocations: 133.3 kB / 478.4 MB, free: 28.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.004773, allocations: 4.484 kB / 478.4 MB, free: 28.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.004801, allocations: 29.8 kB / 478.5 MB, free: 28.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.0049, allocations: 492.1 kB / 478.9 MB, free: 28.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.004919, allocations: 7 kB / 478.9 MB, free: 28.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.004933, allocations: 6.391 kB / 479 MB, free: 28.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.004966, allocations: 16.25 kB / 479 MB, free: 28.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.004968, allocations: 0 / 479 MB, free: 28.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.337e-05/0.005032, allocations: 48.31 kB / 479 MB, free: 28.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.005048, allocations: 13.47 kB / 479 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.005054, allocations: 3.281 kB / 479 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.005072, allocations: 0 / 479 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.005128, allocations: 7.469 kB / 479 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.005133, allocations: 1.625 kB / 479 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.005155, allocations: 5.859 kB / 479 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.005161, allocations: 2.688 kB / 479 MB, free: 28.03 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 7.897e-05/0.00524, allocations: 156.6 kB / 479.2 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.005256, allocations: 3.469 kB / 479.2 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.005363, allocations: 58.56 kB / 479.3 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005364, allocations: 0.5938 kB / 479.3 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.005368, allocations: 2.094 kB / 479.3 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005371, allocations: 0.5625 kB / 479.3 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.847e-05/0.005459, allocations: 122.9 kB / 479.4 MB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.005461, allocations: 0 / 479.4 MB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.005491, allocations: 10.53 kB / 479.4 MB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005493, allocations: 3.938 kB / 479.4 MB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.005499, allocations: 0 / 479.4 MB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.005501, allocations: 6.562 kB / 479.4 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005503, allocations: 2 kB / 479.4 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.005603, allocations: 195.9 kB / 479.6 MB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.005609, allocations: 2.688 kB / 479.6 MB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.005621, allocations: 4 kB / 479.6 MB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.282e-05/0.005654, allocations: 6.406 kB / 479.6 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.005699, allocations: 6.516 kB / 479.6 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.005703, allocations: 4 kB / 479.6 MB, free: 27.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.005738, allocations: 130.3 kB / 479.7 MB, free: 27.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005738, allocations: 2.938 kB / 479.8 MB, free: 27.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.005886, allocations: 5.219 kB / 479.8 MB, free: 27.34 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.0001104/0.005997, allocations: 104.8 kB / 479.9 MB, free: 27.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.006081, allocations: 29.23 kB / 479.9 MB, free: 27.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006082, allocations: 0 / 479.9 MB, free: 27.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.006104, allocations: 22.19 kB / 479.9 MB, free: 27.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.006292, allocations: 6.062 kB / 479.9 MB, free: 27.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.006532, allocations: 116.5 kB / 480 MB, free: 27.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.546e-05/0.006558, allocations: 56.55 kB / 480.1 MB, free: 27.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.957e-05/0.006577, allocations: 4.797 kB / 480.1 MB, free: 27.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.006605, allocations: 21.84 kB / 480.1 MB, free: 27.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.006606, allocations: 0.5938 kB / 480.1 MB, free: 27.01 MB / 426.7 MB Notification: Performance of Templates: time 0.002416/0.009021, allocations: 0.7632 MB / 480.9 MB, free: 26.95 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.7328304210677743]