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.001246/0.001246, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.00125/0.00125, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.425/1.425, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.181/1.181, allocations: 173.4 MB / 471.3 MB, free: 6.617 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.001894/0.001894, allocations: 68.8 kB / 0.649 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1646, allocations: 89.52 MB / 0.7364 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002791/0.1674, allocations: 1.512 MB / 0.7379 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003428/0.1678, allocations: 127.5 kB / 0.738 GB, free: 1.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.1679, allocations: 4 kB / 0.738 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.1679, allocations: 3.938 kB / 0.738 GB, free: 1.973 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.168, allocations: 7.922 kB / 0.738 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1682, allocations: 23.98 kB / 0.738 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.916e-05/0.1682, allocations: 27.92 kB / 0.7381 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.1684, allocations: 7.938 kB / 0.7381 GB, free: 1.906 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.1684, allocations: 19.91 kB / 0.7381 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.1685, allocations: 15.92 kB / 0.7381 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1685, allocations: 4 kB / 0.7381 GB, free: 1.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.06e-05/0.1685, allocations: 16 kB / 0.7381 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.1686, allocations: 7.984 kB / 0.7381 GB, free: 1.844 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.1686, allocations: 11.94 kB / 0.7382 GB, free: 1.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1687, allocations: 35.88 kB / 0.7382 GB, free: 1.797 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1687, allocations: 0 / 0.7382 GB, free: 1.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1688, allocations: 0 / 0.7382 GB, free: 1.797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1688, allocations: 0 / 0.7382 GB, free: 1.797 MB / 0.545 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.0004952/0.1693, allocations: 343.4 kB / 0.7385 GB, free: 1.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1693, allocations: 12.03 kB / 0.7385 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.1693, allocations: 8.875 kB / 0.7385 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1695, allocations: 164.3 kB / 0.7387 GB, free: 1.191 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1695, allocations: 8.359 kB / 0.7387 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.1695, allocations: 4.375 kB / 0.7387 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1697, allocations: 54.23 kB / 0.7388 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1698, allocations: 192 / 0.7388 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1698, allocations: 3.938 kB / 0.7388 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1698, allocations: 0 / 0.7388 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.17, allocations: 43.95 kB / 0.7388 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.1704, allocations: 268.8 kB / 0.7391 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.1707, allocations: 58.48 kB / 0.7391 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1708, allocations: 28.89 kB / 0.7391 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.1709, allocations: 81.11 kB / 0.7392 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.171, allocations: 30.56 kB / 0.7392 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.171, allocations: 4 kB / 0.7393 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004127/0.1714, allocations: 101.5 kB / 0.7393 GB, free: 428 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1714, allocations: 51.41 kB / 0.7394 GB, free: 364 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.1715, allocations: 110 kB / 0.7395 GB, free: 244 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1716, allocations: 25.7 kB / 0.7395 GB, free: 212 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.1716, allocations: 80.14 kB / 0.7396 GB, free: 128 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.1716, allocations: 15.83 kB / 0.7396 GB, free: 112 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.1717, allocations: 17.72 kB / 0.7396 GB, free: 88 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1718, allocations: 314.8 kB / 0.7399 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.1719, allocations: 19.98 kB / 0.74 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.733e-05/0.172, allocations: 23.97 kB / 0.74 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1722, allocations: 40.83 kB / 0.74 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1722, allocations: 7.875 kB / 0.74 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002271/0.1725, allocations: 73.64 kB / 0.7401 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1725, allocations: 8 kB / 0.7401 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1725, allocations: 0 / 0.7401 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1725, allocations: 0 / 0.7401 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.1726, allocations: 15.98 kB / 0.7401 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1726, allocations: 0 / 0.7401 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.1727, allocations: 4 kB / 0.7401 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1727, allocations: 0 / 0.7401 GB, free: 15.57 MB / 0.5606 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 0.0001/0.1728, allocations: 121.8 kB / 0.7402 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.1728, allocations: 3.953 kB / 0.7402 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.1731, allocations: 89.08 kB / 0.7403 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1731, allocations: 4 kB / 0.7403 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1731, allocations: 0 / 0.7403 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1731, allocations: 0 / 0.7403 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1733, allocations: 169.6 kB / 0.7405 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1733, allocations: 4 kB / 0.7405 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.1734, allocations: 11.92 kB / 0.7405 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1734, allocations: 4 kB / 0.7405 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1734, allocations: 0 / 0.7405 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1734, allocations: 0 / 0.7405 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1735, allocations: 4 kB / 0.7405 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.1737, allocations: 171.4 kB / 0.7407 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.1738, allocations: 81.09 kB / 0.7408 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.1738, allocations: 0 / 0.7408 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.1739, allocations: 8 kB / 0.7408 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.1739, allocations: 7.984 kB / 0.7408 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.174, allocations: 4 kB / 0.7408 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.133e-05/0.174, allocations: 83.7 kB / 0.7409 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.174, allocations: 0 / 0.7409 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002244/0.1742, allocations: 15.94 kB / 0.7409 GB, free: 14.7 MB / 0.5606 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.0001437/0.1744, allocations: 99.25 kB / 0.741 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.1746, allocations: 48.08 kB / 0.741 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1747, allocations: 4 kB / 0.741 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1748, allocations: 27.91 kB / 0.741 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.175, allocations: 13.12 kB / 0.7411 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.1753, allocations: 131.3 kB / 0.7412 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1757, allocations: 0.6806 MB / 0.7418 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.1757, allocations: 15.44 kB / 0.7419 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1757, allocations: 0 / 0.7419 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.002162/0.1779, allocations: 0.7314 MB / 0.7426 GB, free: 12.88 MB / 0.5606 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: 7.858833217062056] Failed to read output from testmodel.py, exit status != 0: 0.18406373308971524 0.197994457 0.026604915000000003 Calling exit ...