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.001383/0.001383, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001465/0.001465, allocations: 169 kB / 23.02 MB, free: 1.547 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.9352/0.9352, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.007039/0.007039, allocations: 254.2 kB / 260.2 MB, free: 12.8 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.6865/0.6865, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.412e-06/1.412e-06, allocations: 0 / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.429e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002164/0.002188, allocations: 1.593 MB / 0.5567 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.002507, allocations: 132.4 kB / 0.5568 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.002544, allocations: 0 / 0.5568 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.002577, allocations: 3.938 kB / 0.5568 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.002628, allocations: 15.84 kB / 0.5568 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.002941, allocations: 27.97 kB / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.003013, allocations: 31.92 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.003098, allocations: 15.92 kB / 0.5569 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.976e-05/0.003137, allocations: 19.98 kB / 0.5569 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.003175, allocations: 15.92 kB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.003191, allocations: 8 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.379e-05/0.003275, allocations: 27.89 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.003286, allocations: 4 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.003309, allocations: 15.92 kB / 0.557 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.003433, allocations: 35.95 kB / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.003437, allocations: 3.984 kB / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003438, allocations: 0 / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.003442, allocations: 0 / 0.557 GB, free: 14.56 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.0003598/0.003801, allocations: 368.5 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.003846, allocations: 8.75 kB / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.003892, allocations: 12.89 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.304e-05/0.003975, allocations: 124.5 kB / 0.5575 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.003995, allocations: 384 / 0.5575 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.004005, allocations: 8.312 kB / 0.5575 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.004148, allocations: 66.92 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.004155, allocations: 192 / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.004167, allocations: 8.375 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.004175, allocations: 4.359 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.004213, allocations: 15.92 kB / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.004517, allocations: 267.7 kB / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.004687, allocations: 47.05 kB / 0.5579 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.004711, allocations: 15.73 kB / 0.5579 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.004817, allocations: 19.98 kB / 0.5579 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.004837, allocations: 37.33 kB / 0.558 GB, free: 13.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004838, allocations: 0 / 0.558 GB, free: 13.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000157/0.004995, allocations: 53.62 kB / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.005021, allocations: 51.41 kB / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.005088, allocations: 161.9 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.005099, allocations: 29.7 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.005147, allocations: 134.8 kB / 0.5584 GB, free: 12.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.005163, allocations: 11.89 kB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.005191, allocations: 23.36 kB / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.005294, allocations: 0.4884 MB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.005311, allocations: 0 / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.005323, allocations: 4 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.005358, allocations: 23.67 kB / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00536, allocations: 0 / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.606e-05/0.005427, allocations: 53.56 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.00544, allocations: 10.81 kB / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005444, allocations: 0 / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.005455, allocations: 4 kB / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.005503, allocations: 7.938 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.005509, allocations: 7.984 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.00553, allocations: 0 / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.005536, allocations: 4 kB / 0.559 GB, free: 12.31 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 6.263e-05/0.005599, allocations: 152.6 kB / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.005615, allocations: 11.89 kB / 0.5592 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.005717, allocations: 57.3 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005719, allocations: 0 / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.005723, allocations: 8.25 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005726, allocations: 0 / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.438e-05/0.00582, allocations: 120.6 kB / 0.5594 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.005822, allocations: 384 / 0.5594 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.005853, allocations: 11.98 kB / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.005855, allocations: 0 / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.005863, allocations: 3.938 kB / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005864, allocations: 0 / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.005867, allocations: 4 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.005967, allocations: 191.9 kB / 0.5596 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.005973, allocations: 3.953 kB / 0.5596 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.005984, allocations: 11.94 kB / 0.5596 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/0.006018, allocations: 7.922 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.006063, allocations: 8 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.006067, allocations: 0 / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.371e-05/0.0061, allocations: 127.2 kB / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0061, allocations: 0 / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.006254, allocations: 12 kB / 0.5597 GB, free: 11.52 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 0.0001267/0.00638, allocations: 107.2 kB / 0.5598 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.664e-05/0.006467, allocations: 23.67 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006468, allocations: 4 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.006494, allocations: 23.61 kB / 0.5599 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.006676, allocations: 6.578 kB / 0.5599 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.006923, allocations: 129.3 kB / 0.56 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.006958, allocations: 59.34 kB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.975e-05/0.006978, allocations: 4 kB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.007007, allocations: 24.44 kB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007007, allocations: 0 / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of Templates: time 0.002528/0.009536, allocations: 0.8437 MB / 0.5609 GB, free: 10.25 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.5017894161865115]