Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.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.001322/0.001322, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001283/0.001283, allocations: 186 kB / 20.78 MB, free: 1.547 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.579/1.579, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.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/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.185/1.185, allocations: 175.7 MB / 480.2 MB, free: 2.793 MB / 366.1 MB " [Timeout remaining time 179] 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 76.38 kB / 0.6684 GB, free: 10.6 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2489, allocations: 94.54 MB / 0.7607 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.003111/0.252, allocations: 1.523 MB / 0.7622 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004796/0.2525, allocations: 127.5 kB / 0.7623 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.2526, allocations: 4 kB / 0.7623 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.2526, allocations: 0 / 0.7623 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.2526, allocations: 3.938 kB / 0.7623 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.2529, allocations: 35.89 kB / 0.7624 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.253, allocations: 27.92 kB / 0.7624 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2531, allocations: 7.938 kB / 0.7624 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.2532, allocations: 19.92 kB / 0.7624 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.2533, allocations: 15.92 kB / 0.7624 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2533, allocations: 3.984 kB / 0.7624 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.2534, allocations: 12 kB / 0.7624 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.2534, allocations: 8 kB / 0.7624 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.2534, allocations: 15.92 kB / 0.7625 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2536, allocations: 31.89 kB / 0.7625 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.2536, allocations: 0 / 0.7625 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2536, allocations: 4 kB / 0.7625 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.2536, allocations: 0 / 0.7625 GB, free: 14.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007175/0.2543, allocations: 347.4 kB / 0.7628 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.2544, allocations: 8.031 kB / 0.7628 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.2544, allocations: 0.9375 kB / 0.7628 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.2546, allocations: 172.3 kB / 0.763 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.2547, allocations: 384 / 0.763 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.2547, allocations: 384 / 0.763 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.2549, allocations: 70.09 kB / 0.7631 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2549, allocations: 192 / 0.7631 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2549, allocations: 3.938 kB / 0.7631 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.255, allocations: 4 kB / 0.7631 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.2552, allocations: 43.89 kB / 0.7631 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.2557, allocations: 257 kB / 0.7634 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.2561, allocations: 66.41 kB / 0.7634 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2562, allocations: 24.91 kB / 0.7634 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.2564, allocations: 85.09 kB / 0.7635 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.2564, allocations: 34.56 kB / 0.7636 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2564, allocations: 0 / 0.7636 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.00041/0.2568, allocations: 93.58 kB / 0.7636 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.2569, allocations: 51.41 kB / 0.7637 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.257, allocations: 106 kB / 0.7638 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2571, allocations: 25.7 kB / 0.7638 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.2572, allocations: 96.12 kB / 0.7639 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.2572, allocations: 7.891 kB / 0.7639 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.2572, allocations: 17.72 kB / 0.7639 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2574, allocations: 310.8 kB / 0.7642 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.2575, allocations: 23.97 kB / 0.7643 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.2575, allocations: 15.98 kB / 0.7643 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2577, allocations: 48.81 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2577, allocations: 3.938 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002189/0.2579, allocations: 73.66 kB / 0.7644 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.258, allocations: 4 kB / 0.7644 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.258, allocations: 0 / 0.7644 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.258, allocations: 3.984 kB / 0.7644 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.2581, allocations: 11.94 kB / 0.7644 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2581, allocations: 7.984 kB / 0.7644 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.2581, allocations: 7.984 kB / 0.7644 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2581, allocations: 0 / 0.7644 GB, free: 12.18 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: 2 (rea2Int.y,fac.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 8.777e-05/0.2582, allocations: 117.8 kB / 0.7645 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2582, allocations: 3.953 kB / 0.7645 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.2585, allocations: 85.14 kB / 0.7646 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2585, allocations: 7.984 kB / 0.7646 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2585, allocations: 0 / 0.7646 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2585, allocations: 0 / 0.7646 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.2587, allocations: 161.6 kB / 0.7648 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2587, allocations: 3.938 kB / 0.7648 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/0.2588, allocations: 15.92 kB / 0.7648 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2588, allocations: 0 / 0.7648 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2588, allocations: 7.984 kB / 0.7648 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2588, allocations: 3.938 kB / 0.7648 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2588, allocations: 0 / 0.7648 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.2591, allocations: 171.5 kB / 0.765 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.2591, allocations: 77.11 kB / 0.7651 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2591, allocations: 4 kB / 0.7651 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.2592, allocations: 3.984 kB / 0.7651 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.2593, allocations: 11.98 kB / 0.7651 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.2593, allocations: 0 / 0.7651 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.2593, allocations: 83.7 kB / 0.7652 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2593, allocations: 0 / 0.7652 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002467/0.2596, allocations: 11.95 kB / 0.7652 GB, free: 11.32 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: 2 (fac.y,rea2Int.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.0002067/0.2598, allocations: 111.2 kB / 0.7653 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.26, allocations: 44.08 kB / 0.7653 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.26, allocations: 0 / 0.7653 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.2601, allocations: 27.98 kB / 0.7653 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2604, allocations: 7.922 kB / 0.7653 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.2608, allocations: 121.6 kB / 0.7655 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.2612, allocations: 0.6768 MB / 0.7661 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.2612, allocations: 7.938 kB / 0.7661 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.2613, allocations: 11.44 kB / 0.7661 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.2613, allocations: 0 / 0.7661 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.003516/0.2648, allocations: 0.7168 MB / 0.7668 GB, free: 9.539 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.331842261366546]