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.001481/0.001481, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001562/0.001562, allocations: 156.2 kB / 23.01 MB, free: 4.602 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.337/1.337, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.8226/0.8226, 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.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.001969/0.001969, allocations: 63.03 kB / 0.5483 GB, free: 13.29 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.146/0.148, allocations: 87.87 MB / 0.6341 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002669/0.1506, allocations: 1.537 MB / 0.6356 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003325/0.151, allocations: 136.4 kB / 0.6357 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.151, allocations: 0 / 0.6357 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.151, allocations: 0 / 0.6357 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.874e-05/0.1511, allocations: 3.938 kB / 0.6357 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1513, allocations: 27.91 kB / 0.6358 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.1513, allocations: 23.98 kB / 0.6358 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.168e-05/0.1514, allocations: 8 kB / 0.6358 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.1514, allocations: 19.91 kB / 0.6358 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.1515, allocations: 4 kB / 0.6358 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1515, allocations: 7.938 kB / 0.6358 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 5.344e-05/0.1515, allocations: 19.98 kB / 0.6359 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1516, allocations: 7.938 kB / 0.6359 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.1516, allocations: 15.98 kB / 0.6359 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1517, allocations: 31.89 kB / 0.6359 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1517, allocations: 0 / 0.6359 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1517, allocations: 0 / 0.6359 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1517, allocations: 0 / 0.6359 GB, free: 3.418 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004252/0.1521, allocations: 274.2 kB / 0.6362 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1522, allocations: 12.03 kB / 0.6362 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.1522, allocations: 0.9375 kB / 0.6362 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.565e-05/0.1523, allocations: 110.5 kB / 0.6363 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1523, allocations: 8.312 kB / 0.6363 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1523, allocations: 4.375 kB / 0.6363 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1525, allocations: 54.22 kB / 0.6364 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1525, allocations: 192 / 0.6364 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1525, allocations: 7.875 kB / 0.6364 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-06/0.1525, allocations: 4 kB / 0.6364 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.1527, allocations: 39.95 kB / 0.6364 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.153, allocations: 208.6 kB / 0.6366 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.1533, allocations: 58.53 kB / 0.6367 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.1534, allocations: 32.78 kB / 0.6367 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/0.1535, allocations: 4 kB / 0.6367 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.1535, allocations: 34.55 kB / 0.6367 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1535, allocations: 0 / 0.6367 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0003626/0.1539, allocations: 89.64 kB / 0.6368 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.1539, allocations: 55.41 kB / 0.6369 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.154, allocations: 101.8 kB / 0.637 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.154, allocations: 25.7 kB / 0.637 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.1541, allocations: 84.14 kB / 0.6371 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.1541, allocations: 11.89 kB / 0.6371 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.1541, allocations: 21.7 kB / 0.6371 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1543, allocations: 310.8 kB / 0.6374 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.364e-05/0.1544, allocations: 23.92 kB / 0.6374 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.1544, allocations: 19.97 kB / 0.6374 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1546, allocations: 48.81 kB / 0.6375 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1546, allocations: 0 / 0.6375 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002167/0.1548, allocations: 82.02 kB / 0.6376 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1548, allocations: 4 kB / 0.6376 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1548, allocations: 0 / 0.6376 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1548, allocations: 3.938 kB / 0.6376 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.1549, allocations: 15.98 kB / 0.6376 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1549, allocations: 0 / 0.6376 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.155, allocations: 11.97 kB / 0.6376 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.155, allocations: 7.984 kB / 0.6376 GB, free: 1.508 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 (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 8.315e-05/0.1551, allocations: 113.8 kB / 0.6377 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.1551, allocations: 3.938 kB / 0.6377 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.1554, allocations: 81.33 kB / 0.6378 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1554, allocations: 4 kB / 0.6378 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1554, allocations: 0 / 0.6378 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1554, allocations: 0 / 0.6378 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.1555, allocations: 113.3 kB / 0.6379 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1555, allocations: 0 / 0.6379 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.1556, allocations: 15.92 kB / 0.6379 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1556, allocations: 3.938 kB / 0.6379 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1556, allocations: 0 / 0.6379 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1556, allocations: 0 / 0.6379 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1556, allocations: 3.938 kB / 0.6379 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1559, allocations: 175.5 kB / 0.6381 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.1559, allocations: 11.94 kB / 0.6381 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.1559, allocations: 0 / 0.6381 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.156, allocations: 7.984 kB / 0.6381 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.156, allocations: 0 / 0.6381 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.156, allocations: 4 kB / 0.6381 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.1561, allocations: 83.27 kB / 0.6382 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1561, allocations: 4 kB / 0.6382 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000215/0.1563, allocations: 4 kB / 0.6382 GB, free: 0.8203 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.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.0001182/0.1564, allocations: 107.2 kB / 0.6383 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1566, allocations: 47.89 kB / 0.6383 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1566, allocations: 0 / 0.6383 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.1567, allocations: 23.97 kB / 0.6384 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.1569, allocations: 4 kB / 0.6384 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.1572, allocations: 113.5 kB / 0.6385 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.929e-05/0.1573, allocations: 71.28 kB / 0.6386 GB, free: 416 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.1573, allocations: 0 / 0.6386 GB, free: 416 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.1573, allocations: 16.48 kB / 0.6386 GB, free: 400 kB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1573, allocations: 0 / 0.6386 GB, free: 400 kB / 0.5919 GB Notification: Performance of Templates: time 0.003008/0.1603, allocations: 0.7441 MB / 0.6393 GB, free: 15.65 MB / 0.6075 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 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.963950862991624] Failed to read output from testmodel.py, exit status != 0: 0.16801677097100765 0.18190060700000002 0.027305505 Calling exit ...