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.001249/0.001249, allocations: 84.05 kB / 19.76 MB, free: 2.023 MB / 14.72 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.00125/0.00125, allocations: 158.1 kB / 23.01 MB, free: 4.961 MB / 14.72 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.315/1.315, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 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.8129/0.8129, allocations: 110.3 MB / 370.1 MB, free: 15.67 MB / 350.1 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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 65.62 kB / 0.5483 GB, free: 13.25 MB / 0.5137 GB [/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 FrontEnd - Absyn->SCode: time 0.1407/0.1427, allocations: 87.86 MB / 0.6341 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001624/0.1443, allocations: 0.5982 MB / 0.6347 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.1445, allocations: 43.88 kB / 0.6348 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.419e-05/0.1446, allocations: 0 / 0.6348 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.007e-05/0.1446, allocations: 0 / 0.6348 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.599e-06/0.1446, allocations: 0 / 0.6348 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.1448, allocations: 15.92 kB / 0.6348 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 3.486e-05/0.1448, allocations: 7.984 kB / 0.6348 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.1448, allocations: 4 kB / 0.6348 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.38e-05/0.1449, allocations: 0 / 0.6348 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.028e-05/0.1449, allocations: 7.922 kB / 0.6348 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.1449, allocations: 4 kB / 0.6348 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-05/0.1449, allocations: 8 kB / 0.6348 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-06/0.145, allocations: 0 / 0.6348 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.145, allocations: 0 / 0.6348 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 7.821e-05/0.145, allocations: 23.89 kB / 0.6348 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.145, allocations: 0 / 0.6348 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.145, allocations: 0 / 0.6348 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1451, allocations: 0 / 0.6348 GB, free: 4.531 MB / 0.5919 GB 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.0002692/0.1453, allocations: 242.5 kB / 0.6351 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.1453, allocations: 8.031 kB / 0.6351 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.1454, allocations: 0.9375 kB / 0.6351 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.1455, allocations: 106.5 kB / 0.6352 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1455, allocations: 12.31 kB / 0.6352 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-06/0.1455, allocations: 384 / 0.6352 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.1456, allocations: 30.27 kB / 0.6352 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1456, allocations: 192 / 0.6352 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1456, allocations: 3.938 kB / 0.6352 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1456, allocations: 7.922 kB / 0.6352 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.161e-05/0.1456, allocations: 11.98 kB / 0.6352 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.1457, allocations: 97.33 kB / 0.6353 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/0.1458, allocations: 26.55 kB / 0.6354 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.1458, allocations: 4.859 kB / 0.6354 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.1459, allocations: 12.05 kB / 0.6354 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1459, allocations: 30.56 kB / 0.6354 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1459, allocations: 0 / 0.6354 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.146, allocations: 45.62 kB / 0.6354 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1461, allocations: 55.41 kB / 0.6355 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.1461, allocations: 89.98 kB / 0.6356 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1461, allocations: 29.7 kB / 0.6356 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.1462, allocations: 80.14 kB / 0.6357 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.1462, allocations: 3.953 kB / 0.6357 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.1462, allocations: 13.72 kB / 0.6357 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1464, allocations: 318.8 kB / 0.636 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.1464, allocations: 3.938 kB / 0.636 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.1464, allocations: 3.984 kB / 0.636 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.1464, allocations: 12.86 kB / 0.636 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1464, allocations: 0 / 0.636 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.617e-05/0.1465, allocations: 41.77 kB / 0.6361 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.1465, allocations: 4 kB / 0.6361 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.1465, allocations: 0 / 0.6361 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1465, allocations: 0 / 0.6361 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.1465, allocations: 11.92 kB / 0.6361 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1465, allocations: 0 / 0.6361 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.1465, allocations: 3.938 kB / 0.6361 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.1466, allocations: 4 kB / 0.6361 GB, free: 3.066 MB / 0.5919 GB 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 6.853e-05/0.1466, allocations: 109.8 kB / 0.6362 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.1466, allocations: 4 kB / 0.6362 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.583e-05/0.1467, allocations: 44.88 kB / 0.6362 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1467, allocations: 3.938 kB / 0.6362 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1467, allocations: 4 kB / 0.6363 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1467, allocations: 4 kB / 0.6363 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.264e-05/0.1468, allocations: 101.3 kB / 0.6364 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1468, allocations: 0 / 0.6364 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.1468, allocations: 15.86 kB / 0.6364 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1468, allocations: 0 / 0.6364 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.1468, allocations: 0 / 0.6364 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1468, allocations: 0 / 0.6364 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1468, allocations: 7.969 kB / 0.6364 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.697e-05/0.1469, allocations: 69.06 kB / 0.6364 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-06/0.1469, allocations: 0 / 0.6364 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-06/0.1469, allocations: 0 / 0.6364 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.1469, allocations: 4 kB / 0.6364 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.147, allocations: 3.938 kB / 0.6364 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.147, allocations: 0 / 0.6364 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.147, allocations: 75.28 kB / 0.6365 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.147, allocations: 0 / 0.6365 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001749/0.1472, allocations: 4 kB / 0.6365 GB, free: 2.555 MB / 0.5919 GB 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.000125/0.1473, allocations: 111.3 kB / 0.6366 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.248e-05/0.1474, allocations: 7.938 kB / 0.6366 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.1474, allocations: 0 / 0.6366 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.1474, allocations: 4 kB / 0.6366 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.1475, allocations: 6.344 kB / 0.6366 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/0.1477, allocations: 84.94 kB / 0.6367 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.161e-05/0.1477, allocations: 55.36 kB / 0.6368 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.448e-06/0.1477, allocations: 0 / 0.6368 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.1477, allocations: 16.62 kB / 0.6368 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1477, allocations: 0 / 0.6368 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of Templates: time 0.002189/0.1499, allocations: 333 kB / 0.6371 GB, free: 1.898 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.796367306029424] Failed to read output from testmodel.py, exit status != 0: 0.15733701502904296 0.171472432 0.023574898 Calling exit ...