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.002026/0.002026, allocations: 78.58 kB / 19 MB, free: 2.867 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.001819/0.001819, allocations: 157.7 kB / 22.25 MB, free: 5.129 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.484/1.484, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 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.907/0.907, allocations: 110.3 MB / 369.3 MB, free: 1.254 MB / 334.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.00221/0.00221, allocations: 71.25 kB / 0.5476 GB, free: 9.98 MB / 462.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2137, allocations: 87.87 MB / 0.6334 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001679/0.2153, allocations: 0.5798 MB / 0.634 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002383/0.2156, allocations: 44.28 kB / 0.634 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.2156, allocations: 4 kB / 0.634 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.2156, allocations: 0 / 0.634 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.714e-06/0.2156, allocations: 3.938 kB / 0.634 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2158, allocations: 15.98 kB / 0.634 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.623e-05/0.2159, allocations: 0 / 0.634 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.2159, allocations: 4 kB / 0.634 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.2159, allocations: 4 kB / 0.634 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.089e-05/0.216, allocations: 3.984 kB / 0.634 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.216, allocations: 0 / 0.634 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.2161, allocations: 11.98 kB / 0.6341 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.2161, allocations: 7.938 kB / 0.6341 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.2161, allocations: 4 kB / 0.6341 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.355e-05/0.2162, allocations: 11.98 kB / 0.6341 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2162, allocations: 0 / 0.6341 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2162, allocations: 0 / 0.6341 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.2162, allocations: 3.938 kB / 0.6341 GB, free: 1.27 MB / 0.5294 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.0003311/0.2165, allocations: 234.4 kB / 0.6343 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2166, allocations: 16.02 kB / 0.6343 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.2166, allocations: 0.9375 kB / 0.6343 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.535e-05/0.2167, allocations: 106.5 kB / 0.6344 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.2167, allocations: 384 / 0.6344 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2167, allocations: 8.375 kB / 0.6344 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.2168, allocations: 30.27 kB / 0.6345 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2168, allocations: 192 / 0.6345 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2168, allocations: 7.938 kB / 0.6345 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2168, allocations: 0 / 0.6345 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.2169, allocations: 3.984 kB / 0.6345 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.217, allocations: 101.3 kB / 0.6346 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.759e-05/0.2171, allocations: 22.55 kB / 0.6346 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.2171, allocations: 8.922 kB / 0.6346 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.2172, allocations: 11.92 kB / 0.6346 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2173, allocations: 38.56 kB / 0.6347 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2173, allocations: 0 / 0.6347 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001523/0.2174, allocations: 37.64 kB / 0.6347 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2175, allocations: 59.39 kB / 0.6347 GB, free: 476 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.484e-05/0.2175, allocations: 93.86 kB / 0.6348 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2175, allocations: 29.64 kB / 0.6349 GB, free: 336 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.2176, allocations: 80.14 kB / 0.6349 GB, free: 252 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.2176, allocations: 0 / 0.6349 GB, free: 252 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.2176, allocations: 13.72 kB / 0.635 GB, free: 232 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2178, allocations: 314.8 kB / 0.6353 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.2178, allocations: 8.125 kB / 0.6353 GB, free: 15.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.2178, allocations: 0 / 0.6353 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.2178, allocations: 12.84 kB / 0.6353 GB, free: 15.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2178, allocations: 0 / 0.6353 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.141e-05/0.2179, allocations: 41.66 kB / 0.6353 GB, free: 15.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2179, allocations: 8 kB / 0.6353 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2179, allocations: 0 / 0.6353 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.218, allocations: 0 / 0.6353 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.218, allocations: 15.86 kB / 0.6353 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.218, allocations: 4.094 kB / 0.6353 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.218, allocations: 0 / 0.6353 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.218, allocations: 0 / 0.6353 GB, free: 15.81 MB / 0.545 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 7.88e-05/0.2181, allocations: 113.8 kB / 0.6354 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.2181, allocations: 0 / 0.6354 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.482e-05/0.2182, allocations: 44.84 kB / 0.6355 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2182, allocations: 3.938 kB / 0.6355 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2182, allocations: 7.938 kB / 0.6355 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2182, allocations: 0 / 0.6355 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.288e-05/0.2183, allocations: 105.3 kB / 0.6356 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2183, allocations: 4.031 kB / 0.6356 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.2183, allocations: 4 kB / 0.6356 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2183, allocations: 0 / 0.6356 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2184, allocations: 7.922 kB / 0.6356 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2184, allocations: 0 / 0.6356 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2184, allocations: 3.938 kB / 0.6356 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.085e-05/0.2184, allocations: 61.08 kB / 0.6357 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.2184, allocations: 7.984 kB / 0.6357 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.2185, allocations: 0 / 0.6357 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.2185, allocations: 0 / 0.6357 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.2185, allocations: 7.969 kB / 0.6357 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.2185, allocations: 4 kB / 0.6357 GB, free: 15.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.2185, allocations: 75.28 kB / 0.6358 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.2185, allocations: 0 / 0.6358 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001855/0.2187, allocations: 4 kB / 0.6358 GB, free: 15.3 MB / 0.545 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.0001604/0.2189, allocations: 111.2 kB / 0.6359 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.631e-05/0.219, allocations: 15.94 kB / 0.6359 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.219, allocations: 0 / 0.6359 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.219, allocations: 4.062 kB / 0.6359 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.2191, allocations: 5.938 kB / 0.6359 GB, free: 15.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.2193, allocations: 92.84 kB / 0.636 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.2194, allocations: 51.36 kB / 0.636 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.2194, allocations: 4 kB / 0.636 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.2194, allocations: 8.5 kB / 0.6361 GB, free: 14.95 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.2194, allocations: 0 / 0.6361 GB, free: 14.95 MB / 0.545 GB Notification: Performance of Templates: time 0.00261/0.222, allocations: 334.8 kB / 0.6364 GB, free: 14.63 MB / 0.545 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.77070951461792] Failed to read output from testmodel.py, exit status != 0: 0.23076603934168816 0.24585884400000002 0.026551642 Calling exit ...