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.0008506/0.0008506, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001089/0.001089, allocations: 170 kB / 23.27 MB, free: 1.223 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.9371/0.9371, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.001554/0.001554, allocations: 236.7 kB / 260.5 MB, free: 12.68 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.708/0.708, allocations: 138.4 MB / 455.5 MB, free: 1.453 MB / 362.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.693e-06/1.693e-06, allocations: 0 / 0.5556 GB, free: 280 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.463e-05, allocations: 2.312 kB / 0.5556 GB, free: 276 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002094/0.002118, allocations: 1.578 MB / 0.5572 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.002386, allocations: 144.3 kB / 0.5573 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.002418, allocations: 0 / 0.5573 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.002439, allocations: 3.938 kB / 0.5573 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.352e-05/0.002473, allocations: 0 / 0.5573 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.002694, allocations: 35.89 kB / 0.5573 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.002746, allocations: 35.86 kB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.002807, allocations: 11.98 kB / 0.5574 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.002842, allocations: 19.98 kB / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.819e-05/0.00287, allocations: 15.91 kB / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.002882, allocations: 8 kB / 0.5574 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.002945, allocations: 23.92 kB / 0.5574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.002956, allocations: 11.97 kB / 0.5575 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.209e-05/0.002968, allocations: 8 kB / 0.5575 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.391e-05/0.003052, allocations: 47.81 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003053, allocations: 0 / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003054, allocations: 0 / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.003057, allocations: 0 / 0.5575 GB, free: 14.31 MB / 490.7 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.0002829/0.00334, allocations: 372.5 kB / 0.5579 GB, free: 13.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.003373, allocations: 16.75 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.003399, allocations: 4.891 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.187e-05/0.003461, allocations: 116.6 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.003475, allocations: 4.375 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.003484, allocations: 8.375 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.00359, allocations: 62.92 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.003596, allocations: 192 / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.003602, allocations: 4.375 kB / 0.5581 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.00361, allocations: 8.359 kB / 0.5581 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.003634, allocations: 19.8 kB / 0.5581 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.003852, allocations: 248.4 kB / 0.5583 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.003973, allocations: 47.09 kB / 0.5584 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.003988, allocations: 11.69 kB / 0.5584 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-05/0.004058, allocations: 23.92 kB / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.004075, allocations: 33.39 kB / 0.5584 GB, free: 13.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.004076, allocations: 0 / 0.5584 GB, free: 13.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001067/0.004183, allocations: 49.62 kB / 0.5585 GB, free: 13.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.004205, allocations: 55.41 kB / 0.5585 GB, free: 13.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.837e-05/0.004263, allocations: 162 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.004272, allocations: 25.7 kB / 0.5587 GB, free: 12.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.004314, allocations: 134.8 kB / 0.5589 GB, free: 12.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.004328, allocations: 15.89 kB / 0.5589 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.004354, allocations: 27.34 kB / 0.5589 GB, free: 12.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.004457, allocations: 492.1 kB / 0.5594 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.004469, allocations: 7.938 kB / 0.5594 GB, free: 12.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.00448, allocations: 7.984 kB / 0.5594 GB, free: 12.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.004504, allocations: 11.69 kB / 0.5594 GB, free: 12.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.004505, allocations: 0 / 0.5594 GB, free: 12.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.55e-05/0.004561, allocations: 45.69 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.004572, allocations: 11.94 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.004576, allocations: 0 / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.004586, allocations: 4 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.894e-05/0.004625, allocations: 7.984 kB / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.004629, allocations: 7.938 kB / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.004646, allocations: 0 / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.004649, allocations: 0 / 0.5595 GB, free: 12.11 MB / 490.7 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 5.742e-05/0.004707, allocations: 160.6 kB / 0.5596 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.00472, allocations: 3.953 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.004791, allocations: 57.3 kB / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.004792, allocations: 3.938 kB / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.004793, allocations: 4 kB / 0.5597 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.004795, allocations: 384 / 0.5597 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.305e-05/0.004878, allocations: 105.2 kB / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004879, allocations: 0 / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.004903, allocations: 8 kB / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.004904, allocations: 0 / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.004909, allocations: 4.234 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.00491, allocations: 0 / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.004913, allocations: 11.88 kB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.009e-05/0.004993, allocations: 191.9 kB / 0.56 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.005, allocations: 7.953 kB / 0.56 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-06/0.005006, allocations: 4 kB / 0.56 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.033e-05/0.005037, allocations: 4 kB / 0.56 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.005065, allocations: 11.92 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.005067, allocations: 0 / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.016e-05/0.005097, allocations: 131.2 kB / 0.5601 GB, free: 11.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005097, allocations: 0 / 0.5601 GB, free: 11.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.005233, allocations: 12 kB / 0.5602 GB, free: 11.34 MB / 490.7 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 9.224e-05/0.005325, allocations: 103.2 kB / 0.5603 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.475e-05/0.00538, allocations: 23.61 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.21e-07/0.00538, allocations: 8 kB / 0.5603 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.857e-05/0.005399, allocations: 15.67 kB / 0.5603 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.005571, allocations: 4 kB / 0.5603 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.00575, allocations: 129.3 kB / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.00578, allocations: 59.34 kB / 0.5605 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.728e-05/0.005798, allocations: 4 kB / 0.5605 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.005839, allocations: 78.2 kB / 0.5606 GB, free: 10.86 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005839, allocations: 0 / 0.5606 GB, free: 10.86 MB / 490.7 MB Notification: Performance of Templates: time 0.00207/0.007909, allocations: 0.8685 MB / 0.5614 GB, free: 9.996 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.405107927042991]