Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.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.001777/0.001777, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002054/0.002054, allocations: 155.8 kB / 23.01 MB, free: 4.949 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.381/1.381, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7906/0.7906, allocations: 101.3 MB / 361.1 MB, free: 9.535 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 62.91 kB / 0.5357 GB, free: 5.203 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1393, allocations: 85.88 MB / 0.6195 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001644/0.1409, allocations: 0.5888 MB / 0.6201 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.1412, allocations: 44.28 kB / 0.6201 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.378e-05/0.1412, allocations: 4 kB / 0.6202 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.1412, allocations: 3.938 kB / 0.6202 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.1412, allocations: 4 kB / 0.6202 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.1414, allocations: 11.98 kB / 0.6202 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.572e-05/0.1414, allocations: 0 / 0.6202 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.1415, allocations: 0 / 0.6202 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.277e-05/0.1415, allocations: 7.938 kB / 0.6202 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.209e-05/0.1415, allocations: 3.984 kB / 0.6202 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.1415, allocations: 0 / 0.6202 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.347e-05/0.1416, allocations: 8 kB / 0.6202 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.1416, allocations: 3.984 kB / 0.6202 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.434e-05/0.1416, allocations: 8 kB / 0.6202 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.421e-05/0.1417, allocations: 11.98 kB / 0.6202 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1417, allocations: 0 / 0.6202 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1417, allocations: 0 / 0.6202 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.1417, allocations: 0 / 0.6202 GB, free: 0.8516 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002826/0.142, allocations: 246.3 kB / 0.6204 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.142, allocations: 15.97 kB / 0.6205 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.142, allocations: 4.891 kB / 0.6205 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.16e-05/0.1421, allocations: 102.5 kB / 0.6206 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1421, allocations: 4.375 kB / 0.6206 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1421, allocations: 4.375 kB / 0.6206 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.191e-05/0.1422, allocations: 34.27 kB / 0.6206 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1422, allocations: 192 / 0.6206 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1422, allocations: 11.92 kB / 0.6206 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.1422, allocations: 0 / 0.6206 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.1423, allocations: 0 / 0.6206 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.1424, allocations: 101.3 kB / 0.6207 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.623e-05/0.1425, allocations: 22.55 kB / 0.6207 GB, free: 220 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.1425, allocations: 16.89 kB / 0.6208 GB, free: 200 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.1426, allocations: 8 kB / 0.6208 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1426, allocations: 30.56 kB / 0.6208 GB, free: 152 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1426, allocations: 7.938 kB / 0.6208 GB, free: 144 kB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001257/0.1427, allocations: 45.56 kB / 0.6208 GB, free: 92 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1428, allocations: 59.41 kB / 0.6209 GB, free: 20 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.1428, allocations: 89.86 kB / 0.621 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1429, allocations: 25.7 kB / 0.621 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.1429, allocations: 80.14 kB / 0.6211 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.1429, allocations: 0 / 0.6211 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.1429, allocations: 13.72 kB / 0.6211 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1431, allocations: 314.8 kB / 0.6214 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.1431, allocations: 4.125 kB / 0.6214 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-06/0.1431, allocations: 7.984 kB / 0.6214 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.1431, allocations: 8.859 kB / 0.6214 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1431, allocations: 0 / 0.6214 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.32e-05/0.1432, allocations: 41.64 kB / 0.6215 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1432, allocations: 9.406 kB / 0.6215 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1432, allocations: 0 / 0.6215 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1432, allocations: 0 / 0.6215 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.1433, allocations: 11.92 kB / 0.6215 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.1433, allocations: 0 / 0.6215 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.318e-05/0.1433, allocations: 4.094 kB / 0.6215 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.1433, allocations: 0 / 0.6215 GB, free: 15.38 MB / 0.5294 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.857e-05/0.1434, allocations: 113.8 kB / 0.6216 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.1434, allocations: 7.953 kB / 0.6216 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.1435, allocations: 40.84 kB / 0.6216 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1435, allocations: 3.938 kB / 0.6216 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1435, allocations: 0 / 0.6216 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1435, allocations: 0 / 0.6216 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.567e-05/0.1436, allocations: 101.3 kB / 0.6217 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1436, allocations: 3.938 kB / 0.6217 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.1436, allocations: 12.02 kB / 0.6218 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1436, allocations: 0 / 0.6218 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.1436, allocations: 0 / 0.6218 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1436, allocations: 0 / 0.6218 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1436, allocations: 3.938 kB / 0.6218 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.072e-05/0.1437, allocations: 65.12 kB / 0.6218 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-06/0.1437, allocations: 8 kB / 0.6218 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.1437, allocations: 0 / 0.6218 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.1437, allocations: 0 / 0.6218 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.1437, allocations: 3.938 kB / 0.6218 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1437, allocations: 8.031 kB / 0.6218 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.1438, allocations: 75.28 kB / 0.6219 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1438, allocations: 0 / 0.6219 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001883/0.144, allocations: 11.88 kB / 0.6219 GB, free: 14.86 MB / 0.5294 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000136/0.1441, allocations: 111.2 kB / 0.622 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.558e-05/0.1442, allocations: 8 kB / 0.622 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.1442, allocations: 0 / 0.622 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.1442, allocations: 4 kB / 0.622 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1443, allocations: 4.125 kB / 0.622 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001694/0.1445, allocations: 88.84 kB / 0.6221 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.217e-05/0.1445, allocations: 55.36 kB / 0.6222 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.1445, allocations: 4 kB / 0.6222 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.1445, allocations: 8.5 kB / 0.6222 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1446, allocations: 0 / 0.6222 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.002366/0.1469, allocations: 325.5 kB / 0.6225 GB, free: 14.21 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0092951690312475] Failed to read output from testmodel.py, exit status != 0: 0.15364725899416953 0.16891365299999994 0.024241088 Calling exit ...