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.002047/0.002047, allocations: 83.73 kB / 20.24 MB, free: 4.168 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.002235/0.002235, allocations: 161.3 kB / 23.55 MB, free: 0.8555 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.643/1.643, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.9948/0.9948, allocations: 110.3 MB / 370.6 MB, free: 12.46 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.853e-06/1.853e-06, allocations: 0 / 474.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.921e-05, allocations: 3.188 kB / 474.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002227/0.002257, allocations: 1.533 MB / 476 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000304/0.002561, allocations: 127.1 kB / 476.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.002597, allocations: 0 / 476.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.002621, allocations: 3.938 kB / 476.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.002671, allocations: 5.047 kB / 476.1 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.002896, allocations: 26.56 kB / 476.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.002955, allocations: 25.72 kB / 476.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.003041, allocations: 13.67 kB / 476.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/0.003107, allocations: 16.56 kB / 476.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.003153, allocations: 17.19 kB / 476.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.003169, allocations: 2.625 kB / 476.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.003227, allocations: 20.02 kB / 476.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.003241, allocations: 2.625 kB / 476.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.003263, allocations: 13.94 kB / 476.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.003391, allocations: 36.33 kB / 476.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003394, allocations: 3.938 kB / 476.3 MB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.003395, allocations: 0 / 476.3 MB, free: 14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.0034, allocations: 0 / 476.3 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.0003789/0.003778, allocations: 363.7 kB / 476.7 MB, free: 13.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.003813, allocations: 10.5 kB / 476.7 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.003857, allocations: 4.469 kB / 476.7 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.217e-05/0.003929, allocations: 114.7 kB / 476.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.003951, allocations: 3 kB / 476.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.003961, allocations: 1.031 kB / 476.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.004114, allocations: 51.67 kB / 476.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.004124, allocations: 192 / 476.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.004134, allocations: 384 / 476.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.004139, allocations: 3.531 kB / 476.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.00426, allocations: 38.98 kB / 476.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.004575, allocations: 264.3 kB / 477.1 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.004864, allocations: 62.19 kB / 477.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.004932, allocations: 22.8 kB / 477.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.005036, allocations: 14.3 kB / 477.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.005053, allocations: 33.39 kB / 477.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.005054, allocations: 3.938 kB / 477.3 MB, free: 13.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002922/0.005346, allocations: 78.98 kB / 477.4 MB, free: 13.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.005369, allocations: 52.47 kB / 477.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.005693, allocations: 166.8 kB / 477.6 MB, free: 28.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.005702, allocations: 32.27 kB / 477.6 MB, free: 28.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.005772, allocations: 136.4 kB / 477.7 MB, free: 28.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.005788, allocations: 10.52 kB / 477.7 MB, free: 28.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.00582, allocations: 22 kB / 477.8 MB, free: 28.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.006047, allocations: 498.2 kB / 478.2 MB, free: 28.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.006107, allocations: 16.39 kB / 478.3 MB, free: 28.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/0.006154, allocations: 14.5 kB / 478.3 MB, free: 28.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.006255, allocations: 41.77 kB / 478.3 MB, free: 28.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006256, allocations: 0 / 478.3 MB, free: 28.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001357/0.006392, allocations: 63.25 kB / 478.4 MB, free: 28.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.006405, allocations: 8.812 kB / 478.4 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006409, allocations: 0 / 478.4 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.006423, allocations: 6.656 kB / 478.4 MB, free: 28.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.006484, allocations: 8.953 kB / 478.4 MB, free: 28.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.006489, allocations: 0 / 478.4 MB, free: 28.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.006525, allocations: 3.969 kB / 478.4 MB, free: 28.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.006531, allocations: 0 / 478.4 MB, free: 28.01 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 0.0001002/0.006631, allocations: 163.5 kB / 478.6 MB, free: 27.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.006656, allocations: 7.688 kB / 478.6 MB, free: 27.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.006829, allocations: 71.95 kB / 478.6 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006831, allocations: 0.875 kB / 478.6 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.006833, allocations: 0 / 478.6 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006836, allocations: 4.281 kB / 478.7 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.4e-05/0.00693, allocations: 118.2 kB / 478.8 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006931, allocations: 0 / 478.8 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.006987, allocations: 8.688 kB / 478.8 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006988, allocations: 2.312 kB / 478.8 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.006997, allocations: 2.625 kB / 478.8 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006999, allocations: 3.938 kB / 478.8 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007, allocations: 0 / 478.8 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.007215, allocations: 214 kB / 479 MB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.007222, allocations: 6.703 kB / 479 MB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.007234, allocations: 4 kB / 479 MB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.007298, allocations: 7.062 kB / 479 MB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.007346, allocations: 11.59 kB / 479 MB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.007351, allocations: 3.375 kB / 479 MB, free: 27.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.497e-05/0.007426, allocations: 129.5 kB / 479.2 MB, free: 27.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007426, allocations: 0 / 479.2 MB, free: 27.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.007637, allocations: 8.25 kB / 479.2 MB, free: 27.32 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.0001303/0.007767, allocations: 97.8 kB / 479.3 MB, free: 27.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.007931, allocations: 45.97 kB / 479.3 MB, free: 27.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.007932, allocations: 6.656 kB / 479.3 MB, free: 27.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.502e-05/0.007997, allocations: 27.73 kB / 479.3 MB, free: 27.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.008216, allocations: 12.31 kB / 479.3 MB, free: 27.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.008463, allocations: 127.3 kB / 479.5 MB, free: 27.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.586e-05/0.008499, allocations: 67.95 kB / 479.5 MB, free: 26.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.853e-05/0.008527, allocations: 7.672 kB / 479.5 MB, free: 26.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.008555, allocations: 12.16 kB / 479.6 MB, free: 26.98 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008556, allocations: 0 / 479.6 MB, free: 26.98 MB / 426.7 MB Notification: Performance of Templates: time 0.00332/0.01188, allocations: 0.7573 MB / 480.3 MB, free: 26.93 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: 5.959992056014016]