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.001491/0.001491, allocations: 84.73 kB / 19.44 MB, free: 360 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.001641/0.001641, allocations: 161.7 kB / 22.76 MB, free: 1.684 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 1.453/1.453, allocations: 177.2 MB / 203.1 MB, free: 5.605 MB / 186.7 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.002653/0.002653, allocations: 234 kB / 259.8 MB, free: 12.85 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 1.081/1.081, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.393e-06/1.393e-06, allocations: 0 / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.229e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002894/0.002916, allocations: 1.551 MB / 0.5559 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.003315, allocations: 140.3 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.00335, allocations: 4 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.003375, allocations: 0 / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.003424, allocations: 11.88 kB / 0.556 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.003696, allocations: 27.91 kB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.444e-05/0.003781, allocations: 39.91 kB / 0.5561 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.005e-05/0.003861, allocations: 11.98 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.003905, allocations: 11.98 kB / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.003953, allocations: 19.92 kB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.003971, allocations: 7.984 kB / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.004068, allocations: 19.92 kB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.00409, allocations: 11.98 kB / 0.5562 GB, free: 15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.004123, allocations: 19.92 kB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.004256, allocations: 39.94 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.004258, allocations: 0 / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004259, allocations: 0 / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.004262, allocations: 0 / 0.5562 GB, free: 14.94 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.0004896/0.004752, allocations: 278.2 kB / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.004786, allocations: 8.75 kB / 0.5565 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.004837, allocations: 12.88 kB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.004962, allocations: 117.7 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.004991, allocations: 384 / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.005006, allocations: 12.38 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.005218, allocations: 66.2 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.005225, allocations: 192 / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005235, allocations: 384 / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.005239, allocations: 384 / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.005454, allocations: 51.89 kB / 0.5567 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.005838, allocations: 212.5 kB / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.006198, allocations: 62.59 kB / 0.557 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.006305, allocations: 20.84 kB / 0.557 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.006429, allocations: 19.97 kB / 0.557 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.006461, allocations: 34.5 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.006462, allocations: 0 / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004327/0.006895, allocations: 97.77 kB / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.006943, allocations: 51.41 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.007045, allocations: 113.8 kB / 0.5573 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.007066, allocations: 25.7 kB / 0.5573 GB, free: 13.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.007132, allocations: 84.14 kB / 0.5574 GB, free: 13.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.007151, allocations: 11.94 kB / 0.5574 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.007194, allocations: 17.72 kB / 0.5574 GB, free: 13.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.007367, allocations: 310.8 kB / 0.5577 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.007474, allocations: 24.22 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.007567, allocations: 19.97 kB / 0.5578 GB, free: 13.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.007764, allocations: 56.75 kB / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007765, allocations: 0 / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002606/0.008026, allocations: 77.59 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.008039, allocations: 4 kB / 0.5579 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008044, allocations: 0 / 0.5579 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.008058, allocations: 3.938 kB / 0.5579 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.008143, allocations: 11.98 kB / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.008151, allocations: 8 kB / 0.5579 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.008218, allocations: 15.88 kB / 0.558 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.008224, allocations: 4 kB / 0.558 GB, free: 12.97 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 9.055e-05/0.008315, allocations: 105.8 kB / 0.5581 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.008348, allocations: 7.938 kB / 0.5581 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.008633, allocations: 89.27 kB / 0.5582 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008635, allocations: 0 / 0.5582 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008638, allocations: 0 / 0.5582 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.008643, allocations: 7.984 kB / 0.5582 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.008811, allocations: 109.3 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008811, allocations: 0 / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.008892, allocations: 8 kB / 0.5583 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.008897, allocations: 3.984 kB / 0.5583 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.008906, allocations: 3.938 kB / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008907, allocations: 0 / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008908, allocations: 0 / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.009213, allocations: 171.5 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.009222, allocations: 7.953 kB / 0.5585 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.009242, allocations: 11.92 kB / 0.5585 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.009332, allocations: 4 kB / 0.5585 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.009385, allocations: 7.984 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.009389, allocations: 0 / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.85e-05/0.009448, allocations: 83.28 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009448, allocations: 0 / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.009698, allocations: 11.98 kB / 0.5586 GB, free: 12.29 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.0001594/0.009858, allocations: 103.3 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.0101, allocations: 48.19 kB / 0.5587 GB, free: 12.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.0101, allocations: 0 / 0.5587 GB, free: 12.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01021, allocations: 32 kB / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.01046, allocations: 7.25 kB / 0.5587 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.0108, allocations: 135.5 kB / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.01087, allocations: 63.34 kB / 0.5589 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.532e-05/0.01091, allocations: 15.92 kB / 0.559 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.01094, allocations: 12.5 kB / 0.559 GB, free: 11.83 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01094, allocations: 0 / 0.559 GB, free: 11.83 MB / 490.7 MB Notification: Performance of Templates: time 0.003558/0.0145, allocations: 0.8001 MB / 0.5597 GB, free: 11.04 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.444728252012283]