Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.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.001336/0.001336, allocations: 76.23 kB / 19.18 MB, free: 2.52 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.001677/0.001677, allocations: 165.3 kB / 22.45 MB, free: 5.371 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.498/1.498, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.9433/0.9433, allocations: 110.2 MB / 369.4 MB, free: 1.168 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5478 GB, free: 9.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.538e-05, allocations: 6.281 kB / 0.5478 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002785/0.00281, allocations: 1.548 MB / 0.5493 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003896/0.0032, allocations: 136.4 kB / 0.5494 GB, free: 8.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.003235, allocations: 0 / 0.5494 GB, free: 8.129 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.003266, allocations: 3.938 kB / 0.5494 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.003307, allocations: 11.81 kB / 0.5494 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.003609, allocations: 35.89 kB / 0.5495 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.003681, allocations: 31.92 kB / 0.5495 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.003771, allocations: 8 kB / 0.5495 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.003824, allocations: 27.91 kB / 0.5495 GB, free: 8.012 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.003867, allocations: 15.97 kB / 0.5495 GB, free: 7.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.003882, allocations: 0 / 0.5495 GB, free: 7.996 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.452e-05/0.003967, allocations: 23.98 kB / 0.5496 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.003983, allocations: 8 kB / 0.5496 GB, free: 7.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.004011, allocations: 15.91 kB / 0.5496 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.00415, allocations: 59.8 kB / 0.5496 GB, free: 7.891 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004152, allocations: 0 / 0.5496 GB, free: 7.891 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004152, allocations: 0 / 0.5496 GB, free: 7.891 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.004156, allocations: 3.938 kB / 0.5496 GB, free: 7.887 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004795/0.004635, allocations: 274.3 kB / 0.5499 GB, free: 7.586 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.004668, allocations: 8.031 kB / 0.5499 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.004704, allocations: 8.875 kB / 0.5499 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.004829, allocations: 109.8 kB / 0.55 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.004851, allocations: 8.375 kB / 0.55 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.004861, allocations: 384 / 0.55 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.005064, allocations: 62.22 kB / 0.5501 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.005072, allocations: 4.188 kB / 0.5501 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.005081, allocations: 384 / 0.5501 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.005086, allocations: 4.312 kB / 0.5501 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.005287, allocations: 47.89 kB / 0.5502 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.005651, allocations: 216.5 kB / 0.5504 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.005977, allocations: 62.47 kB / 0.5504 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.006083, allocations: 24.91 kB / 0.5504 GB, free: 6.969 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.006204, allocations: 19.95 kB / 0.5505 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.006249, allocations: 38.5 kB / 0.5505 GB, free: 6.902 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.00625, allocations: 4 kB / 0.5505 GB, free: 6.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004025/0.006653, allocations: 89.64 kB / 0.5506 GB, free: 6.805 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.006693, allocations: 51.41 kB / 0.5506 GB, free: 6.742 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.006786, allocations: 109.8 kB / 0.5507 GB, free: 6.625 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.006804, allocations: 25.7 kB / 0.5508 GB, free: 6.594 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.006863, allocations: 88.08 kB / 0.5509 GB, free: 6.504 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.006885, allocations: 15.88 kB / 0.5509 GB, free: 6.488 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.006934, allocations: 21.66 kB / 0.5509 GB, free: 6.461 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.007078, allocations: 310.8 kB / 0.5512 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.007179, allocations: 23.97 kB / 0.5512 GB, free: 6.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.007265, allocations: 19.98 kB / 0.5512 GB, free: 6.105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.007449, allocations: 48.81 kB / 0.5513 GB, free: 6.055 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007451, allocations: 3.938 kB / 0.5513 GB, free: 6.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000236/0.007687, allocations: 73.59 kB / 0.5513 GB, free: 5.973 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.007701, allocations: 4 kB / 0.5513 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.007705, allocations: 0 / 0.5513 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.007717, allocations: 0 / 0.5513 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.007804, allocations: 20.17 kB / 0.5514 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007808, allocations: 0 / 0.5514 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.007874, allocations: 19.94 kB / 0.5514 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.007882, allocations: 4 kB / 0.5514 GB, free: 5.926 MB / 462.1 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 (falFac.y,rea2Int.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.162e-05/0.007963, allocations: 110.5 kB / 0.5515 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.007992, allocations: 7.938 kB / 0.5515 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.008272, allocations: 81.33 kB / 0.5516 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.008274, allocations: 4 kB / 0.5516 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.008278, allocations: 4 kB / 0.5516 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.008283, allocations: 3.984 kB / 0.5516 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.008424, allocations: 109.4 kB / 0.5517 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.008425, allocations: 4 kB / 0.5517 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.008501, allocations: 4 kB / 0.5517 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.008506, allocations: 7.984 kB / 0.5517 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.008515, allocations: 3.938 kB / 0.5517 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.008518, allocations: 3.938 kB / 0.5517 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008519, allocations: 0 / 0.5517 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.0088, allocations: 167.5 kB / 0.5519 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.00881, allocations: 8.375 kB / 0.5519 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.008827, allocations: 7.922 kB / 0.5519 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.008917, allocations: 8 kB / 0.5519 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.008958, allocations: 3.984 kB / 0.5519 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.008965, allocations: 4 kB / 0.5519 GB, free: 5.328 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.00902, allocations: 83.28 kB / 0.552 GB, free: 5.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.00902, allocations: 0 / 0.552 GB, free: 5.246 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.009254, allocations: 15.92 kB / 0.552 GB, free: 5.23 MB / 462.1 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 (rea2Int.y,falFac.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.0001442/0.009398, allocations: 111.2 kB / 0.5521 GB, free: 5.113 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.009641, allocations: 47.89 kB / 0.5522 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009643, allocations: 0 / 0.5522 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.00976, allocations: 27.97 kB / 0.5522 GB, free: 5.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.01001, allocations: 0 / 0.5522 GB, free: 5.039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.01031, allocations: 116.9 kB / 0.5523 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.483e-05/0.01038, allocations: 67.34 kB / 0.5524 GB, free: 4.812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.736e-05/0.0104, allocations: 4 kB / 0.5524 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.01044, allocations: 16.48 kB / 0.5524 GB, free: 4.793 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.01044, allocations: 3.938 kB / 0.5524 GB, free: 4.789 MB / 462.1 MB Notification: Performance of Templates: time 0.003588/0.01403, allocations: 0.7881 MB / 0.5532 GB, free: 4.016 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.518397998064756] Failed to read output from testmodel.py, exit status != 0: 0.022356878966093063 0.048685637000000004 0.039773962 Calling exit ...