Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001373/0.001373, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001984/0.001984, allocations: 189.4 kB / 22.23 MB, free: 5.102 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.523/1.523, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.118/1.118, allocations: 177.9 MB / 484.2 MB, free: 5.387 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 68.39 kB / 0.674 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7624, allocations: 95.17 MB / 0.767 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001833/0.7642, allocations: 0.5872 MB / 0.7675 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003054/0.7645, allocations: 61.69 kB / 0.7676 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.7646, allocations: 1 kB / 0.7676 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.7646, allocations: 0 / 0.7676 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.7646, allocations: 0 / 0.7676 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.765, allocations: 15.03 kB / 0.7676 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.7651, allocations: 40.67 kB / 0.7676 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.7651, allocations: 1.812 kB / 0.7676 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.7651, allocations: 9.906 kB / 0.7677 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.7652, allocations: 19.2 kB / 0.7677 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.7652, allocations: 1.812 kB / 0.7677 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.7653, allocations: 17.75 kB / 0.7677 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.7653, allocations: 19.73 kB / 0.7677 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.7654, allocations: 15.47 kB / 0.7677 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.7655, allocations: 35.98 kB / 0.7678 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7655, allocations: 0 / 0.7678 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7655, allocations: 0 / 0.7678 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.7655, allocations: 0.7031 kB / 0.7678 GB, free: 7.676 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003495/0.7659, allocations: 262.1 kB / 0.768 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7659, allocations: 9.438 kB / 0.768 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.7659, allocations: 3.188 kB / 0.768 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.985e-05/0.766, allocations: 117.8 kB / 0.7681 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.766, allocations: 6.562 kB / 0.7681 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.7661, allocations: 2.75 kB / 0.7681 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.7662, allocations: 66.75 kB / 0.7682 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7662, allocations: 1.375 kB / 0.7682 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.7663, allocations: 3.938 kB / 0.7682 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.7663, allocations: 5.438 kB / 0.7682 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.7664, allocations: 107.9 kB / 0.7683 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.7666, allocations: 143.6 kB / 0.7685 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.7667, allocations: 69.28 kB / 0.7685 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.7668, allocations: 30.02 kB / 0.7686 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.7669, allocations: 21.55 kB / 0.7686 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.767, allocations: 36.33 kB / 0.7686 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.767, allocations: 0 / 0.7686 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002652/0.7672, allocations: 116.2 kB / 0.7687 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.7673, allocations: 53.58 kB / 0.7688 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.614e-05/0.7673, allocations: 99.81 kB / 0.7689 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.7673, allocations: 26.92 kB / 0.7689 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.022e-05/0.7673, allocations: 80.14 kB / 0.769 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.7673, allocations: 28.06 kB / 0.769 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.7674, allocations: 32.31 kB / 0.769 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.7674, allocations: 317.5 kB / 0.7693 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.7675, allocations: 19.09 kB / 0.7693 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.7675, allocations: 24.62 kB / 0.7694 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.7676, allocations: 61.45 kB / 0.7694 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7676, allocations: 0 / 0.7694 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001335/0.7677, allocations: 94.31 kB / 0.7695 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.7678, allocations: 13.91 kB / 0.7695 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7678, allocations: 5.438 kB / 0.7695 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7678, allocations: 0 / 0.7695 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.7679, allocations: 22.44 kB / 0.7696 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7679, allocations: 0 / 0.7696 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.7679, allocations: 3.812 kB / 0.7696 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.7679, allocations: 3.5 kB / 0.7696 GB, free: 6.266 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001266/0.7681, allocations: 125.3 kB / 0.7697 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.7681, allocations: 7.359 kB / 0.7697 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.7683, allocations: 131.7 kB / 0.7698 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.7683, allocations: 1.344 kB / 0.7698 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7684, allocations: 0 / 0.7698 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.7684, allocations: 1.25 kB / 0.7698 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.7685, allocations: 149 kB / 0.77 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7685, allocations: 0 / 0.77 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.7686, allocations: 23.05 kB / 0.77 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.7686, allocations: 5.469 kB / 0.77 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.7686, allocations: 5.656 kB / 0.77 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7686, allocations: 1.359 kB / 0.77 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7686, allocations: 0 / 0.77 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.7688, allocations: 117.4 kB / 0.7701 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.7688, allocations: 10.98 kB / 0.7701 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.7688, allocations: 0 / 0.7701 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.7688, allocations: 10.39 kB / 0.7701 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.7689, allocations: 11.59 kB / 0.7701 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.7689, allocations: 4.25 kB / 0.7701 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.359e-05/0.7689, allocations: 75.28 kB / 0.7702 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7689, allocations: 1.188 kB / 0.7702 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002182/0.7691, allocations: 18.38 kB / 0.7702 GB, free: 5.723 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001866/0.7693, allocations: 101.5 kB / 0.7703 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.7695, allocations: 68.34 kB / 0.7704 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7695, allocations: 0 / 0.7704 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.858e-05/0.7695, allocations: 34.41 kB / 0.7704 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.7697, allocations: 6.438 kB / 0.7704 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.77, allocations: 144.3 kB / 0.7706 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.7702, allocations: 0.6829 MB / 0.7712 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.625e-05/0.7703, allocations: 42.06 kB / 0.7713 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.7703, allocations: 18.03 kB / 0.7713 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.7703, allocations: 0 / 0.7713 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.004158/0.7745, allocations: 0.6431 MB / 0.7719 GB, free: 4.664 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.738886384293437] Failed to read output from testmodel.py, exit status != 0: 0.7833187896758318 0.7972617860000001 0.028573031000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe1fb67d7b0>