Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.002096/0.002096, allocations: 91.67 kB / 20.24 MB, free: 4.184 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.002177/0.002177, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.576/1.576, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.9913/0.9913, allocations: 110.3 MB / 370.6 MB, free: 12.45 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 474.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.728e-05, allocations: 4.375 kB / 474.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001524/0.001551, allocations: 0.5829 MB / 475.1 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000257/0.001808, allocations: 52.2 kB / 475.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.001827, allocations: 0 / 475.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.00184, allocations: 0 / 475.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.001846, allocations: 0 / 475.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.002128, allocations: 11.8 kB / 475.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.002172, allocations: 3.234 kB / 475.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.002217, allocations: 6.25 kB / 475.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.002254, allocations: 9.109 kB / 475.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.43e-05/0.002279, allocations: 3 kB / 475.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.002292, allocations: 0 / 475.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.002373, allocations: 14.05 kB / 475.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.002385, allocations: 0 / 475.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.002399, allocations: 0 / 475.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.467e-05/0.002494, allocations: 16.7 kB / 475.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002497, allocations: 0.5625 kB / 475.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002498, allocations: 0 / 475.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.002502, allocations: 1.25 kB / 475.2 MB, free: 14.8 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002745/0.002777, allocations: 345.4 kB / 475.5 MB, free: 14.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.002812, allocations: 10.62 kB / 475.6 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.002852, allocations: 1.438 kB / 475.6 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.034e-05/0.002902, allocations: 106.8 kB / 475.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.002915, allocations: 3.344 kB / 475.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.002922, allocations: 384 / 475.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.263e-05/0.003015, allocations: 36.36 kB / 475.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.003024, allocations: 192 / 475.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.003033, allocations: 384 / 475.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003038, allocations: 3.438 kB / 475.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.003078, allocations: 10.38 kB / 475.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.003182, allocations: 108.1 kB / 475.8 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.492e-05/0.003237, allocations: 39.53 kB / 475.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.003255, allocations: 10.47 kB / 475.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.003388, allocations: 2.906 kB / 475.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.003409, allocations: 40.23 kB / 475.9 MB, free: 14.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.00341, allocations: 0 / 475.9 MB, free: 14.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001393/0.003549, allocations: 40.52 kB / 476 MB, free: 14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.00357, allocations: 54.06 kB / 476 MB, free: 13.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.806e-05/0.003598, allocations: 146.2 kB / 476.1 MB, free: 13.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-06/0.003604, allocations: 25.7 kB / 476.2 MB, free: 13.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.003617, allocations: 127.7 kB / 476.3 MB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.003638, allocations: 6.641 kB / 476.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.003665, allocations: 25.75 kB / 476.3 MB, free: 13.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004354/0.0041, allocations: 496.1 kB / 476.8 MB, free: 29.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.004115, allocations: 4.312 kB / 476.8 MB, free: 29.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.004123, allocations: 2.719 kB / 476.8 MB, free: 29.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.004155, allocations: 24.8 kB / 476.8 MB, free: 29.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.004157, allocations: 0 / 476.8 MB, free: 29.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.279e-05/0.00421, allocations: 33.61 kB / 476.9 MB, free: 29.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.004223, allocations: 9.75 kB / 476.9 MB, free: 29.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.004227, allocations: 0 / 476.9 MB, free: 29.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.004241, allocations: 0.9062 kB / 476.9 MB, free: 29.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.004297, allocations: 7.062 kB / 476.9 MB, free: 29.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.004302, allocations: 4 kB / 476.9 MB, free: 29.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.004316, allocations: 4.75 kB / 476.9 MB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.00432, allocations: 4 kB / 476.9 MB, free: 29.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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.384e-05/0.004414, allocations: 156.5 kB / 477.1 MB, free: 28.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.004423, allocations: 4.844 kB / 477.1 MB, free: 28.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/0.0045, allocations: 44.62 kB / 477.1 MB, free: 28.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.004501, allocations: 1.188 kB / 477.1 MB, free: 28.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.004505, allocations: 0 / 477.1 MB, free: 28.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.004507, allocations: 0 / 477.1 MB, free: 28.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.598e-05/0.004553, allocations: 116.2 kB / 477.2 MB, free: 28.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004554, allocations: 0 / 477.2 MB, free: 28.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.004576, allocations: 2.531 kB / 477.2 MB, free: 28.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.004578, allocations: 2.438 kB / 477.2 MB, free: 28.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.004584, allocations: 1.219 kB / 477.2 MB, free: 28.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.004586, allocations: 0 / 477.2 MB, free: 28.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004586, allocations: 0 / 477.2 MB, free: 28.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.29e-05/0.004649, allocations: 85.17 kB / 477.3 MB, free: 28.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-06/0.004654, allocations: 2.562 kB / 477.3 MB, free: 28.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.004663, allocations: 0 / 477.3 MB, free: 28.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.004674, allocations: 0 / 477.3 MB, free: 28.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.004707, allocations: 5.875 kB / 477.3 MB, free: 28.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.00471, allocations: 3.938 kB / 477.3 MB, free: 28.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.715e-05/0.004777, allocations: 123.2 kB / 477.4 MB, free: 28.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.004777, allocations: 2.781 kB / 477.4 MB, free: 28.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.00499, allocations: 2.812 kB / 477.5 MB, free: 28.47 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001532/0.005143, allocations: 111 kB / 477.6 MB, free: 28.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.005237, allocations: 13.66 kB / 477.6 MB, free: 28.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.005239, allocations: 0.6562 kB / 477.6 MB, free: 28.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.005261, allocations: 17.12 kB / 477.6 MB, free: 28.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.005403, allocations: 15.95 kB / 477.6 MB, free: 28.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.005625, allocations: 89.45 kB / 477.7 MB, free: 28.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.37e-05/0.005659, allocations: 58.33 kB / 477.8 MB, free: 28.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.457e-05/0.005673, allocations: 6.484 kB / 477.8 MB, free: 28.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.005693, allocations: 11.03 kB / 477.8 MB, free: 28.16 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.005694, allocations: 0.75 kB / 477.8 MB, free: 28.16 MB / 426.7 MB Notification: Performance of Templates: time 0.003171/0.008865, allocations: 359.8 kB / 478.1 MB, free: 28.11 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.923971939948387]