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.0006516/0.0006516, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008502/0.001502, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006856/0.0006856, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008989/0.001585, allocations: 463.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9646/0.9646, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.068, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.6303/0.6303, allocations: 110.2 MB / 354.2 MB, free: 12.39 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.05456/0.6848, allocations: 34.95 MB / 389.2 MB, free: 9.379 MB / 378.7 MB " [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.633e-06/1.633e-06, allocations: 0 / 390.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.585e-05, allocations: 2.312 kB / 390.6 MB, free: 8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.0013/0.001326, allocations: 0.6307 MB / 391.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001054/0.001431, allocations: 51.81 kB / 391.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-06/0.001441, allocations: 0 / 391.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.428e-06/0.001445, allocations: 4 kB / 391.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.02e-07/0.001446, allocations: 0 / 391.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.001547, allocations: 15.92 kB / 391.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.001593, allocations: 3.984 kB / 391.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.001633, allocations: 4 kB / 391.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.001674, allocations: 0 / 391.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.501e-05/0.001699, allocations: 3.984 kB / 391.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.001713, allocations: 0 / 391.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.001806, allocations: 12 kB / 391.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-06/0.001814, allocations: 3.938 kB / 391.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.168e-05/0.001825, allocations: 0 / 391.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.657e-05/0.001902, allocations: 19.92 kB / 391.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.001915, allocations: 0 / 391.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.001916, allocations: 0 / 391.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.001928, allocations: 0 / 391.3 MB, free: 7.254 MB / 378.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.0002354/0.002164, allocations: 216.8 kB / 391.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.00219, allocations: 8.031 kB / 391.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.069e-05/0.002211, allocations: 4.938 kB / 391.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.843e-05/0.002259, allocations: 101.8 kB / 391.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.002269, allocations: 8.375 kB / 391.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.002275, allocations: 384 / 391.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.508e-05/0.00234, allocations: 38.25 kB / 391.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.002346, allocations: 192 / 391.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-06/0.002351, allocations: 384 / 391.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.002354, allocations: 384 / 391.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.002374, allocations: 11.88 kB / 391.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.788e-05/0.002442, allocations: 57.05 kB / 391.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.635e-05/0.002479, allocations: 18.61 kB / 391.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-06/0.002488, allocations: 4.859 kB / 391.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.002589, allocations: 15.98 kB / 391.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.002606, allocations: 34.56 kB / 391.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 6.52e-07/0.002607, allocations: 4 kB / 391.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 8.057e-05/0.002688, allocations: 41.62 kB / 391.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.002715, allocations: 51.41 kB / 391.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.585e-05/0.002741, allocations: 89.86 kB / 392 MB, free: 6.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.002749, allocations: 25.7 kB / 392 MB, free: 6.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.719e-05/0.002766, allocations: 80.14 kB / 392.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.002782, allocations: 15.88 kB / 392.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.0028, allocations: 9.719 kB / 392.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.002867, allocations: 318.8 kB / 392.4 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-06/0.002871, allocations: 0 / 392.4 MB, free: 5.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.002877, allocations: 12.11 kB / 392.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/0.002898, allocations: 12.86 kB / 392.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.002899, allocations: 0 / 392.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.086e-05/0.00293, allocations: 33.64 kB / 392.5 MB, free: 5.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.00294, allocations: 4 kB / 392.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.002945, allocations: 7.984 kB / 392.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.002953, allocations: 0 / 392.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.002995, allocations: 4 kB / 392.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.002998, allocations: 3.984 kB / 392.5 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-06/0.003006, allocations: 4.094 kB / 392.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-06/0.003008, allocations: 0 / 392.5 MB, free: 5.887 MB / 378.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 4.235e-05/0.003051, allocations: 109.8 kB / 392.6 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-06/0.003056, allocations: 4 kB / 392.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.003109, allocations: 44.78 kB / 392.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.00311, allocations: 0 / 392.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.003111, allocations: 0 / 392.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.003114, allocations: 0 / 392.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.234e-05/0.003156, allocations: 65.84 kB / 392.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.003158, allocations: 3.984 kB / 392.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.003168, allocations: 8.031 kB / 392.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-06/0.003171, allocations: 0 / 392.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.003172, allocations: 4 kB / 392.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-06/0.003175, allocations: 0 / 392.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003175, allocations: 0 / 392.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.003176, allocations: 3.938 kB / 392.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.201e-05/0.003218, allocations: 65.05 kB / 392.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-06/0.003225, allocations: 4 kB / 392.8 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-06/0.00323, allocations: 0 / 392.8 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.003249, allocations: 7.938 kB / 392.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.003251, allocations: 8.016 kB / 392.8 MB, free: 5.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.24e-06/0.003257, allocations: 8.844 kB / 392.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.003257, allocations: 0 / 392.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 9.108e-05/0.003348, allocations: 8 kB / 392.9 MB, free: 5.492 MB / 378.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 8.491e-05/0.003433, allocations: 80.42 kB / 392.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.108e-05/0.003474, allocations: 8.859 kB / 392.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.003476, allocations: 0 / 392.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-06/0.003486, allocations: 12.84 kB / 393 MB, free: 5.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.262e-05/0.003528, allocations: 15.81 kB / 393 MB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001286/0.003657, allocations: 95.28 kB / 393.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.454e-05/0.003682, allocations: 55.36 kB / 393.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.497e-06/0.003691, allocations: 0 / 393.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.003716, allocations: 51.38 kB / 393.2 MB, free: 5.117 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.003717, allocations: 0 / 393.2 MB, free: 5.117 MB / 378.7 MB Notification: Performance of Templates: time 0.001639/0.005356, allocations: 380.4 kB / 393.5 MB, free: 4.746 MB / 378.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: 3.092545879073441]