Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001656/0.001656, allocations: 80.53 kB / 19.18 MB, free: 2.516 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.001965/0.001965, allocations: 159.3 kB / 22.46 MB, free: 5.375 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.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.199/1.199, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.145e-05, allocations: 2.781 kB / 0.6186 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.003005/0.003036, allocations: 1.53 MB / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003884/0.003425, allocations: 126.1 kB / 0.6202 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.003468, allocations: 4 kB / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.00351, allocations: 7.922 kB / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.003563, allocations: 3.938 kB / 0.6202 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.003809, allocations: 23.84 kB / 0.6202 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.003891, allocations: 35.86 kB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.003995, allocations: 8 kB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.004058, allocations: 19.98 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.004107, allocations: 11.97 kB / 0.6203 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.004126, allocations: 4 kB / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.004192, allocations: 11.98 kB / 0.6203 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.00422, allocations: 11.94 kB / 0.6203 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.004246, allocations: 3.984 kB / 0.6203 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.00438, allocations: 35.95 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004383, allocations: 0 / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004384, allocations: 3.938 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.004389, allocations: 0 / 0.6204 GB, free: 2.684 MB / 0.5294 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.0005608/0.004949, allocations: 278.3 kB / 0.6206 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.004985, allocations: 8.031 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.005022, allocations: 8.891 kB / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.005147, allocations: 109.7 kB / 0.6208 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.005169, allocations: 4.375 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.005179, allocations: 384 / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.005392, allocations: 62.22 kB / 0.6208 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005402, allocations: 192 / 0.6208 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.005412, allocations: 384 / 0.6208 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.005421, allocations: 4.375 kB / 0.6208 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.005625, allocations: 43.89 kB / 0.6209 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.005998, allocations: 204.6 kB / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.006349, allocations: 58.53 kB / 0.6211 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.006456, allocations: 24.91 kB / 0.6211 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.085e-05/0.006546, allocations: 4 kB / 0.6212 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.006575, allocations: 38.55 kB / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.006576, allocations: 0 / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004097/0.006986, allocations: 97.47 kB / 0.6213 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.00703, allocations: 55.41 kB / 0.6213 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.007121, allocations: 101.8 kB / 0.6214 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.007139, allocations: 25.7 kB / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.007197, allocations: 88.08 kB / 0.6215 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.007226, allocations: 3.953 kB / 0.6215 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.007276, allocations: 21.7 kB / 0.6216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.007422, allocations: 318.8 kB / 0.6219 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.007523, allocations: 15.98 kB / 0.6219 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/0.007612, allocations: 20.34 kB / 0.6219 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.007802, allocations: 52.89 kB / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007804, allocations: 0 / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000244/0.008048, allocations: 77.59 kB / 0.622 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.008067, allocations: 19.81 kB / 0.622 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.008073, allocations: 3.984 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.008088, allocations: 0 / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.008174, allocations: 11.98 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.008179, allocations: 0 / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.008242, allocations: 11.94 kB / 0.6221 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.008248, allocations: 0 / 0.6221 GB, free: 0.7695 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 (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 9.587e-05/0.008344, allocations: 115.7 kB / 0.6222 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.008372, allocations: 4 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.008664, allocations: 89.2 kB / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.00867, allocations: 4 kB / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.008675, allocations: 0 / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008678, allocations: 0 / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.008829, allocations: 109.3 kB / 0.6224 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008831, allocations: 0 / 0.6224 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.00891, allocations: 11.98 kB / 0.6224 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.008912, allocations: 0 / 0.6224 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.008923, allocations: 8 kB / 0.6224 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.008926, allocations: 3.938 kB / 0.6224 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008927, allocations: 0 / 0.6224 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.009226, allocations: 167.5 kB / 0.6226 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.009235, allocations: 3.953 kB / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.009254, allocations: 7.938 kB / 0.6226 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.009346, allocations: 11.92 kB / 0.6226 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.009397, allocations: 4 kB / 0.6226 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.009401, allocations: 0 / 0.6226 GB, free: 180 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.009458, allocations: 91.27 kB / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009458, allocations: 0 / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003309/0.009789, allocations: 8 kB / 0.6227 GB, free: 80 kB / 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.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.0001886/0.009977, allocations: 99.19 kB / 0.6228 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.01022, allocations: 43.95 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01023, allocations: 0 / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01034, allocations: 36.28 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.01062, allocations: 10.47 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.01098, allocations: 108.8 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.01105, allocations: 63.34 kB / 0.623 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.01108, allocations: 0 / 0.623 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.01112, allocations: 20.48 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.01112, allocations: 0 / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of Templates: time 0.003776/0.01489, allocations: 0.7522 MB / 0.6238 GB, free: 14.91 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8002685084939] Failed to read output from testmodel.py, exit status != 0: 0.023766156286001205 0.039507001 0.031980995000000005 Calling exit ...