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.0008944/0.0008944, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009799/0.0009799, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8919/0.8919, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.001382/0.001382, allocations: 238 kB / 260.2 MB, free: 13.01 MB / 250.7 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 0.6419/0.6419, allocations: 138.4 MB / 455.1 MB, free: 29.95 MB / 410.7 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.603e-06/1.603e-06, allocations: 3.938 kB / 0.6475 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.488e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.2556/0.2556, allocations: 1.551 MB / 0.649 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003317/0.2559, allocations: 139.7 kB / 0.6492 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.256, allocations: 1.062 kB / 0.6492 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.256, allocations: 0.8438 kB / 0.6492 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.256, allocations: 6.141 kB / 0.6492 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2563, allocations: 32.81 kB / 0.6492 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.2564, allocations: 35.94 kB / 0.6492 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.2565, allocations: 13.64 kB / 0.6493 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.2565, allocations: 20.66 kB / 0.6493 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.2566, allocations: 14.44 kB / 0.6493 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2566, allocations: 4.281 kB / 0.6493 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.2567, allocations: 22.34 kB / 0.6493 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.2567, allocations: 11.95 kB / 0.6493 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.2567, allocations: 11.5 kB / 0.6493 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.2568, allocations: 52.66 kB / 0.6494 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2568, allocations: 0.75 kB / 0.6494 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2568, allocations: 0 / 0.6494 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2568, allocations: 1.406 kB / 0.6494 GB, free: 56.45 MB / 0.5573 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.0003478/0.2572, allocations: 277.2 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2572, allocations: 13.09 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.2572, allocations: 4.656 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.2573, allocations: 115.7 kB / 0.6498 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2573, allocations: 5.875 kB / 0.6498 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2573, allocations: 6 kB / 0.6498 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2575, allocations: 61.78 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2575, allocations: 192 / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2575, allocations: 2.094 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.2575, allocations: 3.453 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.2576, allocations: 46.27 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.2579, allocations: 216.9 kB / 0.6501 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.2581, allocations: 56.78 kB / 0.6502 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.2581, allocations: 25.97 kB / 0.6502 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.2582, allocations: 16.33 kB / 0.6502 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.2582, allocations: 37.06 kB / 0.6502 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2582, allocations: 4.75 kB / 0.6502 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002328/0.2585, allocations: 102 kB / 0.6503 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.2585, allocations: 52.5 kB / 0.6504 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.2585, allocations: 108.4 kB / 0.6505 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.2586, allocations: 25.7 kB / 0.6505 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.2586, allocations: 85.8 kB / 0.6506 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.2586, allocations: 7.734 kB / 0.6506 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.2586, allocations: 17.39 kB / 0.6506 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.337e-05/0.2587, allocations: 316.9 kB / 0.6509 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.584e-05/0.2587, allocations: 19.28 kB / 0.651 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.2587, allocations: 22.31 kB / 0.651 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.766e-05/0.2588, allocations: 44.64 kB / 0.651 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2588, allocations: 0.9062 kB / 0.651 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001137/0.2589, allocations: 89.52 kB / 0.6511 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.259, allocations: 6.406 kB / 0.6511 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.259, allocations: 2 kB / 0.6511 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.259, allocations: 1 kB / 0.6511 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-05/0.259, allocations: 16.39 kB / 0.6511 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.259, allocations: 0 / 0.6511 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.2591, allocations: 5.281 kB / 0.6511 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.2591, allocations: 2.641 kB / 0.6511 GB, free: 55.05 MB / 0.5573 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 4.164e-05/0.2591, allocations: 115 kB / 0.6512 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.2591, allocations: 5.844 kB / 0.6512 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.2593, allocations: 90.91 kB / 0.6513 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2593, allocations: 0.6094 kB / 0.6513 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2593, allocations: 4.312 kB / 0.6513 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2593, allocations: 2.156 kB / 0.6513 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.9e-05/0.2593, allocations: 109.3 kB / 0.6514 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.2593, allocations: 0.8438 kB / 0.6514 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.2594, allocations: 14.58 kB / 0.6515 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2594, allocations: 0.8125 kB / 0.6515 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.2594, allocations: 5.531 kB / 0.6515 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2594, allocations: 1.125 kB / 0.6515 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2594, allocations: 3.766 kB / 0.6515 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.2595, allocations: 171.4 kB / 0.6516 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.2595, allocations: 2.203 kB / 0.6516 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-06/0.2595, allocations: 5.281 kB / 0.6516 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.994e-05/0.2596, allocations: 11.5 kB / 0.6517 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.2596, allocations: 7.938 kB / 0.6517 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2596, allocations: 5.328 kB / 0.6517 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.646e-05/0.2596, allocations: 86.5 kB / 0.6517 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2596, allocations: 0 / 0.6517 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001508/0.2598, allocations: 9.297 kB / 0.6518 GB, free: 54.54 MB / 0.5573 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.0001111/0.2599, allocations: 100.8 kB / 0.6519 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.26, allocations: 44.22 kB / 0.6519 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.26, allocations: 0.5625 kB / 0.6519 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.2601, allocations: 27.66 kB / 0.6519 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2603, allocations: 5.062 kB / 0.6519 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.2605, allocations: 155 kB / 0.6521 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.2606, allocations: 63.59 kB / 0.6521 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.2606, allocations: 12 kB / 0.6521 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.2606, allocations: 0 / 0.6521 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of Templates: time 0.001745/0.2623, allocations: 0.8038 MB / 0.6529 GB, free: 54.22 MB / 0.5573 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.04602515604347] Failed to read output from testmodel.py, exit status != 0: 0.26702400110661983 0.27398764899999994 0.015623060999999938 Calling exit ...