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.0009052/0.0009052, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.0009718/0.0009718, allocations: 165.4 kB / 24.17 MB, free: 328 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 0.9802/0.9802, allocations: 177.1 MB / 204.6 MB, free: 5.457 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.5858/0.5858, allocations: 110.3 MB / 371.3 MB, free: 12.33 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.372e-06/1.372e-06, allocations: 0 / 422.4 MB, free: 9.379 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.085e-05, allocations: 6.312 kB / 422.4 MB, free: 9.371 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.00209/0.002111, allocations: 1.577 MB / 424 MB, free: 7.777 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.002408, allocations: 124.5 kB / 424.1 MB, free: 7.652 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.002442, allocations: 0 / 424.1 MB, free: 7.652 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.002471, allocations: 3.938 kB / 424.1 MB, free: 7.648 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.002519, allocations: 0 / 424.1 MB, free: 7.648 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.002747, allocations: 27.86 kB / 424.1 MB, free: 7.621 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.822e-05/0.002815, allocations: 27.92 kB / 424.1 MB, free: 7.594 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.002891, allocations: 15.97 kB / 424.2 MB, free: 7.578 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.844e-05/0.002939, allocations: 19.92 kB / 424.2 MB, free: 7.559 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.228e-05/0.002982, allocations: 11.98 kB / 424.2 MB, free: 7.547 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.002995, allocations: 4 kB / 424.2 MB, free: 7.543 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.714e-05/0.003062, allocations: 15.98 kB / 424.2 MB, free: 7.527 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.003074, allocations: 3.984 kB / 424.2 MB, free: 7.523 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.003089, allocations: 11.94 kB / 424.2 MB, free: 7.512 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 9.524e-05/0.003184, allocations: 31.89 kB / 424.3 MB, free: 7.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003186, allocations: 0 / 424.3 MB, free: 7.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003187, allocations: 3.938 kB / 424.3 MB, free: 7.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.00319, allocations: 0 / 424.3 MB, free: 7.477 MB / 394.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.0002658/0.003456, allocations: 241 kB / 424.5 MB, free: 7.215 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.003485, allocations: 8.031 kB / 424.5 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.00351, allocations: 4.938 kB / 424.5 MB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.003585, allocations: 121.7 kB / 424.6 MB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.003602, allocations: 4.375 kB / 424.6 MB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.003611, allocations: 384 / 424.6 MB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.003714, allocations: 58.94 kB / 424.7 MB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.00372, allocations: 192 / 424.7 MB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.003727, allocations: 8.312 kB / 424.7 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003732, allocations: 384 / 424.7 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.003759, allocations: 23.86 kB / 424.7 MB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.003948, allocations: 148.3 kB / 424.9 MB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.004086, allocations: 30.56 kB / 424.9 MB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.004101, allocations: 8.859 kB / 424.9 MB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.004154, allocations: 7.984 kB / 424.9 MB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004173, allocations: 30.56 kB / 424.9 MB, free: 6.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.004174, allocations: 0 / 424.9 MB, free: 6.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001006/0.004275, allocations: 49.56 kB / 425 MB, free: 6.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.004306, allocations: 55.47 kB / 425 MB, free: 6.578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.004352, allocations: 114.7 kB / 425.2 MB, free: 6.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.004361, allocations: 25.7 kB / 425.2 MB, free: 6.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.004389, allocations: 80.14 kB / 425.3 MB, free: 6.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.004404, allocations: 11.94 kB / 425.3 MB, free: 6.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.004427, allocations: 13.72 kB / 425.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.004496, allocations: 314.8 kB / 425.6 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.004507, allocations: 4 kB / 425.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.004515, allocations: 0 / 425.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.004543, allocations: 24.78 kB / 425.6 MB, free: 5.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004545, allocations: 0 / 425.6 MB, free: 5.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.791e-05/0.004593, allocations: 45.69 kB / 425.7 MB, free: 5.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.004602, allocations: 8 kB / 425.7 MB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.004607, allocations: 0 / 425.7 MB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.004618, allocations: 3.938 kB / 425.7 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.004666, allocations: 12.5 kB / 425.7 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.004668, allocations: 0 / 425.7 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.004686, allocations: 3.953 kB / 425.7 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.00469, allocations: 4 kB / 425.7 MB, free: 5.879 MB / 394.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 4.919e-05/0.00474, allocations: 109.8 kB / 425.8 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.004752, allocations: 4 kB / 425.8 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.004822, allocations: 61.28 kB / 425.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.004825, allocations: 3.938 kB / 425.9 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.004826, allocations: 0 / 425.9 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.004829, allocations: 3.938 kB / 425.9 MB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.06e-05/0.00492, allocations: 65.89 kB / 425.9 MB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.004921, allocations: 4 kB / 425.9 MB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.004952, allocations: 4 kB / 426 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.004954, allocations: 0 / 426 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-06/0.004958, allocations: 0 / 426 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.00496, allocations: 3.984 kB / 426 MB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.004961, allocations: 8 kB / 426 MB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.708e-05/0.005038, allocations: 143.4 kB / 426.1 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.005046, allocations: 3.938 kB / 426.1 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-06/0.005053, allocations: 0 / 426.1 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.005084, allocations: 4 kB / 426.1 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.005118, allocations: 7.984 kB / 426.1 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.005123, allocations: 7.938 kB / 426.1 MB, free: 5.398 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.759e-06/0.005133, allocations: 12.83 kB / 426.1 MB, free: 5.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005133, allocations: 0 / 426.1 MB, free: 5.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001208/0.005253, allocations: 8 kB / 426.1 MB, free: 5.375 MB / 394.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.000105/0.005358, allocations: 88.42 kB / 426.2 MB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.606e-05/0.005415, allocations: 16.84 kB / 426.3 MB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.005417, allocations: 0 / 426.3 MB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.005436, allocations: 16.8 kB / 426.3 MB, free: 5.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.005553, allocations: 15.92 kB / 426.3 MB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.005744, allocations: 111.8 kB / 426.4 MB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.981e-05/0.005774, allocations: 59.3 kB / 426.4 MB, free: 5.012 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.05e-05/0.005794, allocations: 4 kB / 426.5 MB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.005842, allocations: 59.36 kB / 426.5 MB, free: 4.949 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.005843, allocations: 0 / 426.5 MB, free: 4.949 MB / 394.7 MB Notification: Performance of Templates: time 0.002146/0.007989, allocations: 0.7626 MB / 427.3 MB, free: 4.184 MB / 394.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.3371508880518377]