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.001553/0.001553, allocations: 78.58 kB / 19 MB, free: 2.871 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.00162/0.00162, allocations: 162.5 kB / 22.26 MB, free: 5.141 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.513/1.513, allocations: 177.2 MB / 202.6 MB, free: 9.277 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.9371/0.9371, allocations: 110.3 MB / 369.3 MB, free: 1.23 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.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: 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.003278/0.003278, allocations: 66.41 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.2064/0.2097, allocations: 87.87 MB / 0.6334 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002985/0.2127, allocations: 1.523 MB / 0.6349 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003747/0.213, allocations: 116.5 kB / 0.635 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.2131, allocations: 0 / 0.635 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.2131, allocations: 0 / 0.635 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.2131, allocations: 7.938 kB / 0.635 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.2134, allocations: 27.89 kB / 0.635 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.2135, allocations: 27.92 kB / 0.635 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2136, allocations: 16 kB / 0.6351 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.2136, allocations: 15.98 kB / 0.6351 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.2137, allocations: 19.91 kB / 0.6351 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2137, allocations: 4 kB / 0.6351 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.2138, allocations: 8 kB / 0.6351 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.2138, allocations: 11.98 kB / 0.6351 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.2138, allocations: 7.938 kB / 0.6351 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.2139, allocations: 47.75 kB / 0.6352 GB, free: 128 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2139, allocations: 0 / 0.6352 GB, free: 128 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2139, allocations: 0 / 0.6352 GB, free: 128 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2139, allocations: 0 / 0.6352 GB, free: 128 kB / 0.5294 GB 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.000505/0.2145, allocations: 270.3 kB / 0.6354 GB, free: 15.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2145, allocations: 8.031 kB / 0.6354 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.2145, allocations: 12.89 kB / 0.6354 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2146, allocations: 106.5 kB / 0.6355 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2146, allocations: 4.375 kB / 0.6356 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2147, allocations: 4.312 kB / 0.6356 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.2149, allocations: 62.22 kB / 0.6356 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.2149, allocations: 192 / 0.6356 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2149, allocations: 3.938 kB / 0.6356 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2149, allocations: 4 kB / 0.6356 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.2151, allocations: 47.89 kB / 0.6357 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.2154, allocations: 204.6 kB / 0.6359 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.2158, allocations: 54.53 kB / 0.6359 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2159, allocations: 24.84 kB / 0.6359 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.053e-05/0.216, allocations: 7.984 kB / 0.6359 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.216, allocations: 46.5 kB / 0.636 GB, free: 15.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.216, allocations: 0 / 0.636 GB, free: 15.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003963/0.2164, allocations: 89.62 kB / 0.6361 GB, free: 15.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.2164, allocations: 51.41 kB / 0.6361 GB, free: 15.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.2165, allocations: 97.86 kB / 0.6362 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2166, allocations: 29.7 kB / 0.6362 GB, free: 14.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.2166, allocations: 84.12 kB / 0.6363 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.2166, allocations: 7.953 kB / 0.6363 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.2167, allocations: 17.72 kB / 0.6364 GB, free: 14.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2168, allocations: 314.8 kB / 0.6367 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-05/0.2169, allocations: 19.97 kB / 0.6367 GB, free: 14.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.538e-05/0.217, allocations: 19.98 kB / 0.6367 GB, free: 14.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.2172, allocations: 48.75 kB / 0.6367 GB, free: 14.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2172, allocations: 0 / 0.6367 GB, free: 14.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002265/0.2174, allocations: 81.55 kB / 0.6368 GB, free: 14.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2174, allocations: 4 kB / 0.6368 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2174, allocations: 0 / 0.6368 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2174, allocations: 4.516 kB / 0.6368 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.2175, allocations: 7.984 kB / 0.6368 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2175, allocations: 4 kB / 0.6368 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.2176, allocations: 15.98 kB / 0.6368 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.2176, allocations: 0 / 0.6368 GB, free: 14.23 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 (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.0001045/0.2177, allocations: 109.8 kB / 0.637 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.2177, allocations: 11.94 kB / 0.637 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.218, allocations: 93.19 kB / 0.6371 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.218, allocations: 0 / 0.6371 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.218, allocations: 0 / 0.6371 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.218, allocations: 11.92 kB / 0.6371 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.2182, allocations: 101.3 kB / 0.6372 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2182, allocations: 0 / 0.6372 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.2182, allocations: 15.92 kB / 0.6372 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2182, allocations: 4 kB / 0.6372 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.2182, allocations: 4 kB / 0.6372 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2182, allocations: 0 / 0.6372 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2183, allocations: 7.984 kB / 0.6372 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.2185, allocations: 167.5 kB / 0.6374 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.2186, allocations: 7.891 kB / 0.6374 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.2186, allocations: 0 / 0.6374 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.2187, allocations: 7.984 kB / 0.6374 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.2187, allocations: 11.98 kB / 0.6374 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.2187, allocations: 4 kB / 0.6374 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.2188, allocations: 79.28 kB / 0.6375 GB, free: 13.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2188, allocations: 0 / 0.6375 GB, free: 13.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000239/0.219, allocations: 12 kB / 0.6375 GB, free: 13.52 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.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.0001619/0.2192, allocations: 103.2 kB / 0.6376 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.2194, allocations: 43.89 kB / 0.6376 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2194, allocations: 0 / 0.6376 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2195, allocations: 27.98 kB / 0.6376 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.2198, allocations: 10.02 kB / 0.6376 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.2201, allocations: 113.4 kB / 0.6378 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.83e-05/0.2202, allocations: 63.34 kB / 0.6378 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.2202, allocations: 4 kB / 0.6378 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.2202, allocations: 8.5 kB / 0.6378 GB, free: 13.1 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.2202, allocations: 4 kB / 0.6378 GB, free: 13.09 MB / 0.545 GB Notification: Performance of Templates: time 0.003348/0.2236, allocations: 0.7533 MB / 0.6386 GB, free: 12.36 MB / 0.545 GB " [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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.82724959589541] Failed to read output from testmodel.py, exit status != 0: 0.23398030176758766 0.257004749 0.038647729000000006 Calling exit ...