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.001127/0.001127, allocations: 76.39 kB / 20.97 MB, free: 3.578 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.001196/0.001196, allocations: 165.4 kB / 24.28 MB, free: 280 kB / 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.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.5842/0.5842, allocations: 110.3 MB / 371.3 MB, free: 12.55 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.624e-06/1.624e-06, allocations: 0 / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.988e-05, allocations: 4.344 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001339/0.001369, allocations: 0.601 MB / 475.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002323/0.001602, allocations: 54.11 kB / 475.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.001622, allocations: 0.5938 kB / 475.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.001639, allocations: 1.125 kB / 475.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.001645, allocations: 0 / 475.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.001874, allocations: 12.83 kB / 475.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.03e-05/0.001924, allocations: 7.672 kB / 475.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.001963, allocations: 0 / 475.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.00199, allocations: 2.875 kB / 475.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.955e-05/0.00201, allocations: 4.391 kB / 475.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.002023, allocations: 0 / 475.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.002096, allocations: 13.53 kB / 475.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.002105, allocations: 1.406 kB / 475.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.002119, allocations: 0 / 475.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.853e-05/0.002208, allocations: 16.17 kB / 476 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00221, allocations: 0 / 476 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.002211, allocations: 4.062 kB / 476 MB, free: 14.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.002216, allocations: 0 / 476 MB, free: 14.79 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.0002041/0.00242, allocations: 345.3 kB / 476.3 MB, free: 14.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.002481, allocations: 9.781 kB / 476.3 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.002517, allocations: 0.9375 kB / 476.3 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.775e-05/0.002564, allocations: 114.8 kB / 476.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.002575, allocations: 1.062 kB / 476.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.002583, allocations: 2.25 kB / 476.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.724e-05/0.00266, allocations: 29.42 kB / 476.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.002667, allocations: 192 / 476.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.002676, allocations: 384 / 476.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.002683, allocations: 3.531 kB / 476.5 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.002708, allocations: 12.19 kB / 476.5 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.725e-05/0.002796, allocations: 111.7 kB / 476.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.299e-05/0.002839, allocations: 29.38 kB / 476.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.002854, allocations: 13.84 kB / 476.6 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.002982, allocations: 2.656 kB / 476.6 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.002999, allocations: 36.23 kB / 476.7 MB, free: 14.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.003, allocations: 0.5 kB / 476.7 MB, free: 14.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001302/0.00313, allocations: 46.58 kB / 476.7 MB, free: 13.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.003152, allocations: 51.41 kB / 476.7 MB, free: 13.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.41e-05/0.003176, allocations: 144.5 kB / 476.9 MB, free: 13.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-06/0.003181, allocations: 26.58 kB / 476.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.084e-05/0.003192, allocations: 126.9 kB / 477 MB, free: 13.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.003209, allocations: 8.297 kB / 477 MB, free: 13.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.003233, allocations: 22.19 kB / 477.1 MB, free: 13.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003221/0.003555, allocations: 0.4892 MB / 477.6 MB, free: 29.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.003567, allocations: 0 / 477.6 MB, free: 29.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.003574, allocations: 2.656 kB / 477.6 MB, free: 29.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.00361, allocations: 17.47 kB / 477.6 MB, free: 29.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003611, allocations: 0 / 477.6 MB, free: 29.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.183e-05/0.003653, allocations: 40.05 kB / 477.6 MB, free: 29.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.003665, allocations: 6.719 kB / 477.6 MB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.00367, allocations: 0 / 477.6 MB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.003681, allocations: 0.5625 kB / 477.6 MB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.003731, allocations: 9 kB / 477.6 MB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.003737, allocations: 11.17 kB / 477.6 MB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.029e-05/0.003747, allocations: 3.938 kB / 477.6 MB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.003751, allocations: 0 / 477.6 MB, free: 29.02 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 5.608e-05/0.003807, allocations: 160.2 kB / 477.8 MB, free: 28.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-06/0.003811, allocations: 0 / 477.8 MB, free: 28.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.003873, allocations: 47.39 kB / 477.9 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.003875, allocations: 0 / 477.9 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.003878, allocations: 0 / 477.9 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.003881, allocations: 3.719 kB / 477.9 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.031e-05/0.003921, allocations: 108.6 kB / 478 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.003923, allocations: 3.938 kB / 478 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.003934, allocations: 3.969 kB / 478 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.003937, allocations: 2.594 kB / 478 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.003942, allocations: 0 / 478 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.003942, allocations: 1.156 kB / 478 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.003943, allocations: 0 / 478 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.119e-05/0.003984, allocations: 78.73 kB / 478 MB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.003989, allocations: 9.078 kB / 478.1 MB, free: 28.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-06/0.003997, allocations: 3.938 kB / 478.1 MB, free: 28.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.458e-06/0.004001, allocations: 2.625 kB / 478.1 MB, free: 28.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.004027, allocations: 3.875 kB / 478.1 MB, free: 28.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.004029, allocations: 2.688 kB / 478.1 MB, free: 28.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.697e-05/0.004056, allocations: 120.1 kB / 478.2 MB, free: 28.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004056, allocations: 0 / 478.2 MB, free: 28.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001229/0.004179, allocations: 4.156 kB / 478.2 MB, free: 28.46 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.0001123/0.004292, allocations: 110.5 kB / 478.3 MB, free: 28.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.726e-05/0.004359, allocations: 13.59 kB / 478.3 MB, free: 28.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.00436, allocations: 1.062 kB / 478.3 MB, free: 28.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.004372, allocations: 12.97 kB / 478.3 MB, free: 28.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.29e-05/0.004465, allocations: 2.562 kB / 478.3 MB, free: 28.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.004629, allocations: 97.3 kB / 478.4 MB, free: 28.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.797e-05/0.004647, allocations: 54.27 kB / 478.5 MB, free: 28.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.052e-05/0.004657, allocations: 11.23 kB / 478.5 MB, free: 28.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.004671, allocations: 12.44 kB / 478.5 MB, free: 28.14 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.004672, allocations: 0 / 478.5 MB, free: 28.14 MB / 426.7 MB Notification: Performance of Templates: time 0.001828/0.0065, allocations: 347.1 kB / 478.8 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: 3.5613448140211403]