Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 121.3 kB / 17.81 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 193.4 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8267/0.8267, allocations: 128.4 MB / 432.4 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 63.91 kB / 0.5987 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4467, allocations: 83.26 MB / 0.68 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002269/0.449, allocations: 1.541 MB / 0.6815 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003221/0.4493, allocations: 135.2 kB / 0.6817 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.4493, allocations: 0 / 0.6817 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.4493, allocations: 3.938 kB / 0.6817 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.4494, allocations: 9.672 kB / 0.6817 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.4496, allocations: 32.05 kB / 0.6817 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.4497, allocations: 42.48 kB / 0.6817 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.4498, allocations: 7.781 kB / 0.6818 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.4498, allocations: 17.55 kB / 0.6818 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.984e-05/0.4499, allocations: 17.61 kB / 0.6818 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.4499, allocations: 2.781 kB / 0.6818 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.45, allocations: 22.97 kB / 0.6818 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.45, allocations: 9.312 kB / 0.6818 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.45, allocations: 20.11 kB / 0.6818 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.4501, allocations: 38.47 kB / 0.6819 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4501, allocations: 0 / 0.6819 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4501, allocations: 5.438 kB / 0.6819 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4501, allocations: 0 / 0.6819 GB, free: 5.59 MB / 0.4981 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.0003895/0.4505, allocations: 356.5 kB / 0.6822 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.4506, allocations: 9.562 kB / 0.6822 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.4506, allocations: 3.625 kB / 0.6822 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.293e-05/0.4507, allocations: 169.4 kB / 0.6824 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.4507, allocations: 6.781 kB / 0.6824 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.4507, allocations: 1.781 kB / 0.6824 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4509, allocations: 67.53 kB / 0.6825 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4509, allocations: 192 / 0.6825 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4509, allocations: 9.375 kB / 0.6825 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4509, allocations: 0 / 0.6825 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.4511, allocations: 40.95 kB / 0.6825 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.4514, allocations: 282.3 kB / 0.6828 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.4517, allocations: 61.47 kB / 0.6828 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.495e-05/0.4518, allocations: 28.3 kB / 0.6829 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.452, allocations: 396 kB / 0.6832 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.452, allocations: 35.53 kB / 0.6833 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.452, allocations: 1.125 kB / 0.6833 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003759/0.4524, allocations: 97.75 kB / 0.6834 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.4524, allocations: 56.38 kB / 0.6834 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.4524, allocations: 120 kB / 0.6835 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.4524, allocations: 25.7 kB / 0.6836 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.4525, allocations: 85.53 kB / 0.6837 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.4525, allocations: 9.297 kB / 0.6837 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.4525, allocations: 21.64 kB / 0.6837 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.4526, allocations: 319.8 kB / 0.684 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.4527, allocations: 18.78 kB / 0.684 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.18e-05/0.4527, allocations: 18.8 kB / 0.684 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.4529, allocations: 47.91 kB / 0.6841 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4529, allocations: 0 / 0.6841 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002017/0.4531, allocations: 79.88 kB / 0.6841 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4531, allocations: 6.094 kB / 0.6841 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4531, allocations: 0 / 0.6841 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4531, allocations: 0 / 0.6841 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.4532, allocations: 11.95 kB / 0.6842 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4532, allocations: 0 / 0.6842 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.4533, allocations: 12.92 kB / 0.6842 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.4533, allocations: 1.406 kB / 0.6842 GB, free: 3.203 MB / 0.4981 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.844e-05/0.4533, allocations: 119.1 kB / 0.6843 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.4534, allocations: 10.36 kB / 0.6843 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.4536, allocations: 84.17 kB / 0.6844 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4536, allocations: 0 / 0.6844 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4536, allocations: 1.312 kB / 0.6844 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4536, allocations: 0 / 0.6844 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.4537, allocations: 168.4 kB / 0.6845 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4537, allocations: 8.859 kB / 0.6845 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.4538, allocations: 8.281 kB / 0.6846 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4538, allocations: 0 / 0.6846 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4538, allocations: 3.984 kB / 0.6846 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4538, allocations: 1.531 kB / 0.6846 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4538, allocations: 0 / 0.6846 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.454, allocations: 175.8 kB / 0.6847 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.454, allocations: 82.3 kB / 0.6848 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.4541, allocations: 13.09 kB / 0.6848 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.4541, allocations: 3.594 kB / 0.6848 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.4542, allocations: 6.797 kB / 0.6848 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.4542, allocations: 1.375 kB / 0.6848 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.579e-05/0.4542, allocations: 85.38 kB / 0.6849 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.4542, allocations: 0 / 0.6849 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002259/0.4544, allocations: 16.77 kB / 0.6849 GB, free: 2.426 MB / 0.4981 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.0001191/0.4546, allocations: 106.7 kB / 0.685 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.4548, allocations: 44.7 kB / 0.6851 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4548, allocations: 0 / 0.6851 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.393e-05/0.4549, allocations: 30.31 kB / 0.6851 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.4552, allocations: 6.609 kB / 0.6851 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.4554, allocations: 154.9 kB / 0.6853 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.872e-05/0.4555, allocations: 0.6801 MB / 0.6859 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.4556, allocations: 9.594 kB / 0.6859 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4556, allocations: 1.094 kB / 0.6859 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of Templates: time 0.002204/0.4578, allocations: 0.8024 MB / 0.6867 GB, free: 1.023 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.675648726988584] Failed to read output from testmodel.py, exit status != 0: 0.4661541141103953 0.478041956 0.025187087 Calling exit ...