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.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.00137/0.00137, allocations: 75.38 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001417/0.001417, allocations: 170.8 kB / 23.22 MB, free: 4.887 MB / 14.72 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.402/1.402, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9027/0.9027, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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 1.523e-06/1.523e-06, allocations: 0 / 0.5547 GB, free: 2.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.712e-05, allocations: 8.75 kB / 0.5547 GB, free: 2.473 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00389/0.003917, allocations: 1.55 MB / 0.5562 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004582/0.004375, allocations: 135.4 kB / 0.5563 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.00444, allocations: 4 kB / 0.5563 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.004472, allocations: 3.938 kB / 0.5563 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.004523, allocations: 11.88 kB / 0.5563 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.004837, allocations: 31.89 kB / 0.5564 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.598e-05/0.004933, allocations: 39.86 kB / 0.5564 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.005027, allocations: 15.97 kB / 0.5564 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.33e-05/0.005081, allocations: 15.92 kB / 0.5564 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.005131, allocations: 15.98 kB / 0.5565 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.00515, allocations: 4 kB / 0.5565 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.005248, allocations: 19.97 kB / 0.5565 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.005273, allocations: 19.92 kB / 0.5565 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.0053, allocations: 8 kB / 0.5565 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.00546, allocations: 47.86 kB / 0.5566 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005462, allocations: 3.938 kB / 0.5566 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005463, allocations: 0 / 0.5566 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.005467, allocations: 0 / 0.5566 GB, free: 0.5508 MB / 462.1 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.0006075/0.006074, allocations: 276.9 kB / 0.5568 GB, free: 256 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.006122, allocations: 12.61 kB / 0.5568 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.006159, allocations: 4.938 kB / 0.5568 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.006298, allocations: 105.8 kB / 0.5569 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.006323, allocations: 8.375 kB / 0.5569 GB, free: 100 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.00634, allocations: 384 / 0.5569 GB, free: 100 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.00664, allocations: 70.16 kB / 0.557 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.006651, allocations: 192 / 0.557 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.006666, allocations: 8.312 kB / 0.557 GB, free: 16 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.006671, allocations: 384 / 0.557 GB, free: 16 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.006988, allocations: 43.97 kB / 0.5571 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.007475, allocations: 212.5 kB / 0.5573 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.007938, allocations: 66.47 kB / 0.5573 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.008091, allocations: 28.89 kB / 0.5574 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.008249, allocations: 19.98 kB / 0.5574 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.008281, allocations: 38.5 kB / 0.5574 GB, free: 15.56 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.008283, allocations: 0 / 0.5574 GB, free: 15.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005852/0.008868, allocations: 93.59 kB / 0.5575 GB, free: 15.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.008918, allocations: 59.34 kB / 0.5576 GB, free: 15.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.009041, allocations: 105.8 kB / 0.5577 GB, free: 15.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.009067, allocations: 25.7 kB / 0.5577 GB, free: 15.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.009146, allocations: 96 kB / 0.5578 GB, free: 15.15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.009173, allocations: 7.953 kB / 0.5578 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.009226, allocations: 13.72 kB / 0.5578 GB, free: 15.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.009422, allocations: 314.8 kB / 0.5581 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.00957, allocations: 23.97 kB / 0.5581 GB, free: 14.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.009701, allocations: 15.98 kB / 0.5581 GB, free: 14.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.009986, allocations: 48.81 kB / 0.5582 GB, free: 14.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009988, allocations: 0 / 0.5582 GB, free: 14.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003913/0.01038, allocations: 85.77 kB / 0.5583 GB, free: 14.63 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.0104, allocations: 5.875 kB / 0.5583 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.0104, allocations: 0 / 0.5583 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01042, allocations: 4 kB / 0.5583 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01054, allocations: 12.03 kB / 0.5583 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01055, allocations: 4 kB / 0.5583 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.946e-05/0.01064, allocations: 11.97 kB / 0.5583 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01065, allocations: 0 / 0.5583 GB, free: 14.59 MB / 478.1 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 0.000127/0.01078, allocations: 117.8 kB / 0.5584 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.01083, allocations: 3.938 kB / 0.5584 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.01123, allocations: 81.58 kB / 0.5585 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01123, allocations: 0 / 0.5585 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.01124, allocations: 7.984 kB / 0.5585 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01125, allocations: 4 kB / 0.5585 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.01146, allocations: 109.3 kB / 0.5586 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01147, allocations: 0 / 0.5586 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.01157, allocations: 11.94 kB / 0.5586 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.01158, allocations: 3.984 kB / 0.5586 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.01159, allocations: 7.938 kB / 0.5586 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.0116, allocations: 0 / 0.5586 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.0116, allocations: 0 / 0.5586 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.01201, allocations: 175.4 kB / 0.5588 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-06/0.01202, allocations: 4 kB / 0.5588 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.01204, allocations: 7.922 kB / 0.5588 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.01218, allocations: 4 kB / 0.5588 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.01225, allocations: 11.98 kB / 0.5588 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01225, allocations: 0 / 0.5588 GB, free: 13.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.289e-05/0.01233, allocations: 79.28 kB / 0.5589 GB, free: 13.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01233, allocations: 3.938 kB / 0.5589 GB, free: 13.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000433/0.01276, allocations: 15.92 kB / 0.5589 GB, free: 13.89 MB / 478.1 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.0002151/0.01298, allocations: 111.2 kB / 0.559 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.01337, allocations: 39.95 kB / 0.5591 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.01337, allocations: 0 / 0.5591 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.01355, allocations: 27.97 kB / 0.5591 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.014, allocations: 1.75 kB / 0.5591 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.0144, allocations: 116.9 kB / 0.5592 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.239e-05/0.01449, allocations: 71.28 kB / 0.5593 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.138e-05/0.01453, allocations: 4 kB / 0.5593 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01458, allocations: 16.48 kB / 0.5593 GB, free: 13.46 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.01458, allocations: 0 / 0.5593 GB, free: 13.46 MB / 478.1 MB Notification: Performance of Templates: time 0.004724/0.01931, allocations: 0.7741 MB / 0.56 GB, free: 12.71 MB / 478.1 MB " [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: 5.137511435896158] Failed to read output from testmodel.py, exit status != 0: 0.030361760407686234 0.054685961000000005 0.04451837 Calling exit ...