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.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.001302/0.001302, allocations: 80.22 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.001463/0.001463, allocations: 167 kB / 22.46 MB, free: 5.379 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.185/1.185, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_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 1.413e-06/1.413e-06, allocations: 0 / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.608e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002767/0.002793, allocations: 1.535 MB / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003726/0.003165, allocations: 127.6 kB / 0.6201 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.00321, allocations: 0 / 0.6201 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.003241, allocations: 0 / 0.6201 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.003282, allocations: 3.938 kB / 0.6201 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.003565, allocations: 24.47 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.003657, allocations: 39.84 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.003779, allocations: 8 kB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.132e-05/0.00385, allocations: 19.92 kB / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.003899, allocations: 11.98 kB / 0.6202 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.003915, allocations: 0 / 0.6202 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.003987, allocations: 15.98 kB / 0.6203 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.004007, allocations: 11.92 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.004034, allocations: 11.94 kB / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.004184, allocations: 35.94 kB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.004188, allocations: 0 / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004189, allocations: 0 / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.004196, allocations: 0 / 0.6203 GB, free: 2.777 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.0005839/0.00478, allocations: 274.3 kB / 0.6206 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.004822, allocations: 9.469 kB / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.004867, allocations: 12.88 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.004991, allocations: 101.8 kB / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.005015, allocations: 4.375 kB / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.00503, allocations: 384 / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.005246, allocations: 58.23 kB / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.005258, allocations: 192 / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005268, allocations: 384 / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005273, allocations: 4.375 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.005479, allocations: 47.83 kB / 0.6208 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.005902, allocations: 204.6 kB / 0.621 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.006258, allocations: 62.53 kB / 0.6211 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.006362, allocations: 24.83 kB / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/0.006453, allocations: 4 kB / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.006484, allocations: 42.5 kB / 0.6211 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.006485, allocations: 0 / 0.6211 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004403/0.006926, allocations: 101.5 kB / 0.6212 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.006977, allocations: 51.41 kB / 0.6213 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.007071, allocations: 97.84 kB / 0.6214 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.007091, allocations: 29.7 kB / 0.6214 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.007156, allocations: 88.08 kB / 0.6215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.007176, allocations: 3.953 kB / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.007217, allocations: 21.72 kB / 0.6215 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.00737, allocations: 314.8 kB / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.00747, allocations: 19.98 kB / 0.6218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.007563, allocations: 27.91 kB / 0.6219 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.007742, allocations: 36.83 kB / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.007744, allocations: 0 / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002397/0.007984, allocations: 81.64 kB / 0.622 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.008002, allocations: 11.88 kB / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.008008, allocations: 0 / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.008036, allocations: 4 kB / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.008118, allocations: 7.984 kB / 0.622 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.008127, allocations: 4 kB / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.008183, allocations: 3.953 kB / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.008189, allocations: 4 kB / 0.622 GB, free: 0.8789 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.006e-05/0.008279, allocations: 118.8 kB / 0.6221 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.008305, allocations: 8 kB / 0.6221 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.008594, allocations: 81.27 kB / 0.6222 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.008599, allocations: 4 kB / 0.6222 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.008605, allocations: 0 / 0.6222 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.00861, allocations: 4 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.008753, allocations: 105.3 kB / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.008754, allocations: 0 / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.008867, allocations: 11.98 kB / 0.6223 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.008875, allocations: 8.5 kB / 0.6223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.008883, allocations: 0 / 0.6223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.008888, allocations: 7.922 kB / 0.6223 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.008892, allocations: 4 kB / 0.6223 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.009178, allocations: 171.4 kB / 0.6225 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.009192, allocations: 15.94 kB / 0.6225 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.009206, allocations: 0 / 0.6225 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.009291, allocations: 7.938 kB / 0.6225 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.009366, allocations: 7.984 kB / 0.6225 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.009371, allocations: 4 kB / 0.6225 GB, free: 268 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.009427, allocations: 87.27 kB / 0.6226 GB, free: 180 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.009427, allocations: 0 / 0.6226 GB, free: 180 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002257/0.009653, allocations: 8 kB / 0.6226 GB, free: 172 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.0001739/0.009827, allocations: 99.19 kB / 0.6227 GB, free: 60 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.01007, allocations: 47.89 kB / 0.6228 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01007, allocations: 0 / 0.6228 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.01019, allocations: 31.97 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.01048, allocations: 4.641 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.01082, allocations: 116.8 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.01097, allocations: 67.33 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.01099, allocations: 0 / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.01103, allocations: 12.5 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of SimCode: time 4.6e-07/0.01103, allocations: 4 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of Templates: time 0.003681/0.01471, allocations: 0.7436 MB / 0.6237 GB, free: 15 MB / 0.545 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: 5.8289364986121655] Failed to read output from testmodel.py, exit status != 0: 0.023954693228006363 0.039597641 0.032313348 Calling exit ...