Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00136/0.00136, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.00151/0.00151, allocations: 159.3 kB / 22.46 MB, free: 5.375 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002453/0.002453, allocations: 242.3 kB / 259.4 MB, free: 472 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.142/1.142, allocations: 138.4 MB / 454.3 MB, free: 1.98 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.6468 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.564e-05, allocations: 5.797 kB / 0.6468 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002754/0.00278, allocations: 1.56 MB / 0.6483 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003575/0.003137, allocations: 136.4 kB / 0.6485 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.003178, allocations: 0 / 0.6485 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.003209, allocations: 3.938 kB / 0.6485 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.003244, allocations: 4 kB / 0.6485 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.003552, allocations: 31.89 kB / 0.6485 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.003654, allocations: 39.86 kB / 0.6485 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.003751, allocations: 11.97 kB / 0.6485 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.003795, allocations: 15.98 kB / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.428e-05/0.003839, allocations: 15.98 kB / 0.6486 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.003856, allocations: 4 kB / 0.6486 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.114e-05/0.003937, allocations: 27.91 kB / 0.6486 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.003954, allocations: 15.92 kB / 0.6486 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.00398, allocations: 8 kB / 0.6486 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.004104, allocations: 47.86 kB / 0.6487 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004106, allocations: 0 / 0.6487 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.82e-07/0.004107, allocations: 3.938 kB / 0.6487 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.004114, allocations: 0 / 0.6487 GB, free: 3.047 MB / 0.5606 GB 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.0004684/0.004583, allocations: 282.2 kB / 0.649 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.004616, allocations: 9.344 kB / 0.649 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.004647, allocations: 4.938 kB / 0.649 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.004756, allocations: 109.8 kB / 0.6491 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.004773, allocations: 4.375 kB / 0.6491 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.004785, allocations: 384 / 0.6491 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.004986, allocations: 66.22 kB / 0.6491 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004995, allocations: 192 / 0.6491 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.005004, allocations: 384 / 0.6491 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.005008, allocations: 384 / 0.6491 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.005304, allocations: 51.83 kB / 0.6492 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.005707, allocations: 216.5 kB / 0.6494 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.006032, allocations: 58.48 kB / 0.6494 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.006143, allocations: 32.88 kB / 0.6495 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.00626, allocations: 15.98 kB / 0.6495 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.006293, allocations: 42.44 kB / 0.6495 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.006294, allocations: 0 / 0.6495 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004205/0.006715, allocations: 101.6 kB / 0.6496 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.006755, allocations: 51.41 kB / 0.6497 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.006854, allocations: 109.8 kB / 0.6498 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.006873, allocations: 25.7 kB / 0.6498 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.006927, allocations: 84.14 kB / 0.6499 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.006947, allocations: 7.953 kB / 0.6499 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.006985, allocations: 13.72 kB / 0.6499 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.007154, allocations: 318.8 kB / 0.6502 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.007254, allocations: 15.98 kB / 0.6502 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.007358, allocations: 31.91 kB / 0.6503 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.007545, allocations: 40.83 kB / 0.6503 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007546, allocations: 0 / 0.6503 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002403/0.007787, allocations: 85.53 kB / 0.6504 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.007802, allocations: 4 kB / 0.6504 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.007806, allocations: 0 / 0.6504 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.007819, allocations: 4 kB / 0.6504 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.007901, allocations: 15.98 kB / 0.6504 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.007905, allocations: 0 / 0.6504 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.007965, allocations: 7.938 kB / 0.6504 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.00797, allocations: 0 / 0.6504 GB, free: 1.098 MB / 0.5606 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 (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 9.679e-05/0.008067, allocations: 121.8 kB / 0.6505 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.008096, allocations: 3.938 kB / 0.6505 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.008365, allocations: 81.33 kB / 0.6506 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008366, allocations: 0 / 0.6506 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.00837, allocations: 4.25 kB / 0.6506 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.008372, allocations: 0 / 0.6506 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.008522, allocations: 113.3 kB / 0.6507 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008523, allocations: 0 / 0.6507 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.008601, allocations: 11.98 kB / 0.6507 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008602, allocations: 0 / 0.6507 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.008612, allocations: 3.938 kB / 0.6507 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008613, allocations: 3.938 kB / 0.6507 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008614, allocations: 0 / 0.6507 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.008907, allocations: 183.8 kB / 0.6509 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.008913, allocations: 4 kB / 0.6509 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.008927, allocations: 3.938 kB / 0.6509 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.009016, allocations: 8.031 kB / 0.6509 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.009077, allocations: 11.92 kB / 0.6509 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.009082, allocations: 0 / 0.6509 GB, free: 500 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.009134, allocations: 87.27 kB / 0.651 GB, free: 412 kB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.009134, allocations: 0 / 0.651 GB, free: 412 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002507/0.009385, allocations: 8 kB / 0.651 GB, free: 404 kB / 0.5606 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 (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.0001627/0.009547, allocations: 103.2 kB / 0.6511 GB, free: 288 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.00979, allocations: 47.89 kB / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.009791, allocations: 0 / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.009895, allocations: 27.97 kB / 0.6512 GB, free: 212 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.01015, allocations: 0 / 0.6512 GB, free: 212 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.01046, allocations: 132.7 kB / 0.6513 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2329/0.2434, allocations: 66.75 kB / 0.6514 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.078e-05/0.2435, allocations: 0 / 0.6514 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.2435, allocations: 10.69 kB / 0.6514 GB, free: 56.76 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/0.2435, allocations: 1.25 kB / 0.6514 GB, free: 56.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.003398/0.2469, allocations: 0.78 MB / 0.6522 GB, free: 56.74 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.753198556602001] Failed to read output from testmodel.py, exit status != 0: 0.25425830855965614 0.26326070300000004 0.25703104800000004 Calling exit ...