Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.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.0007637/0.0007637, allocations: 80.44 kB / 19.9 MB, free: 16 kB / 13.93 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.00074/0.00074, allocations: 165.8 kB / 23.18 MB, free: 1.387 MB / 18.57 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 0.9767/0.9767, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1013/0.1013, allocations: 17.37 MB / 277.4 MB, free: 11.87 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.EnzymeKinetics") translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.EnzymeKinetics") [Timeout 660] "Notification: Chemical 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.001193/0.001193, allocations: 69.38 kB / 412.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1474, allocations: 59.85 MB / 472.7 MB, free: 13.89 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.EnzymeKinetics): time 0.03327/0.1807, allocations: 27.2 MB / 499.9 MB, free: 2.762 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.1972, allocations: 17.18 MB / 0.5049 GB, free: 1.516 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.1986, allocations: 23.81 kB / 0.5049 GB, free: 1.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1997, allocations: 380.9 kB / 0.5053 GB, free: 1.117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.2048, allocations: 1.672 MB / 0.5069 GB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005933/0.2108, allocations: 2.54 MB / 0.5094 GB, free: 12.88 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003016/0.2138, allocations: 1.977 MB / 0.5113 GB, free: 10.89 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.2151, allocations: 0.916 MB / 0.5122 GB, free: 9.953 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.2169, allocations: 1.423 MB / 0.5136 GB, free: 8.527 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.2183, allocations: 1.028 MB / 0.5146 GB, free: 7.496 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.2186, allocations: 179.9 kB / 0.5148 GB, free: 7.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005113/0.2237, allocations: 2.047 MB / 0.5168 GB, free: 5.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.2241, allocations: 438.7 kB / 0.5172 GB, free: 4.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.2253, allocations: 0.7276 MB / 0.5179 GB, free: 4.109 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008445/0.2337, allocations: 4.268 MB / 0.5221 GB, free: 15.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2337, allocations: 0 / 0.5221 GB, free: 15.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2337, allocations: 0 / 0.5221 GB, free: 15.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.126e-05/0.2338, allocations: 0 / 0.5221 GB, free: 15.82 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.003372/0.2372, allocations: 2.159 MB / 0.5242 GB, free: 13.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.2372, allocations: 8.031 kB / 0.5242 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.2383, allocations: 339.3 kB / 0.5245 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.2398, allocations: 0.7653 MB / 0.5253 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.24, allocations: 214 kB / 0.5255 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.2401, allocations: 132.4 kB / 0.5256 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.2424, allocations: 1.721 MB / 0.5273 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.2425, allocations: 0 / 0.5273 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.2426, allocations: 59.92 kB / 0.5274 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.2426, allocations: 32 kB / 0.5274 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.245, allocations: 2.173 MB / 0.5295 GB, free: 8.094 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006441/0.2515, allocations: 4.439 MB / 0.5338 GB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.2546, allocations: 2.706 MB / 0.5365 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008295/0.2555, allocations: 0.7308 MB / 0.5372 GB, free: 124 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005671/0.2611, allocations: 3.784 MB / 0.5409 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2612, allocations: 47.56 kB / 0.5409 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000428/0.2616, allocations: 135.2 kB / 0.5411 GB, free: 12.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 4.138e-06/0.2616, allocations: 4 kB / 0.5411 GB, free: 12.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=116): time 0.009773/0.2714, allocations: 4.277 MB / 0.5452 GB, free: 7.805 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.2714, allocations: 64.41 kB / 0.5453 GB, free: 7.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.2725, allocations: 0.7152 MB / 0.546 GB, free: 7.004 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.2727, allocations: 45.7 kB / 0.5461 GB, free: 6.953 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.273, allocations: 0.6599 MB / 0.5467 GB, free: 6.285 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.2733, allocations: 428.4 kB / 0.5471 GB, free: 5.863 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006143/0.2739, allocations: 299.4 kB / 0.5474 GB, free: 5.562 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.274, allocations: 345.9 kB / 0.5477 GB, free: 5.219 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/0.2746, allocations: 483.7 kB / 0.5482 GB, free: 4.746 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00083/0.2754, allocations: 0.9841 MB / 0.5491 GB, free: 3.539 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.2771, allocations: 1.577 MB / 0.5507 GB, free: 1.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.2771, allocations: 11.94 kB / 0.5507 GB, free: 1.719 MB / 458.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00371/0.2808, allocations: 1.979 MB / 0.5526 GB, free: 15.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.2808, allocations: 12.19 kB / 0.5526 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.2808, allocations: 20 kB / 0.5527 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.2823, allocations: 438.1 kB / 0.5531 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/0.2832, allocations: 375.3 kB / 0.5534 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/0.2872, allocations: 3.606 MB / 0.557 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.2882, allocations: 51.94 kB / 0.557 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.2884, allocations: 96.03 kB / 0.5571 GB, free: 10.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005704/0.2889, allocations: 317.2 kB / 0.5574 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.2892, allocations: 103.3 kB / 0.5575 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00327/0.2924, allocations: 1.799 MB / 0.5593 GB, free: 8.707 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.2924, allocations: 15.94 kB / 0.5593 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.2924, allocations: 0 / 0.5593 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.2925, allocations: 15.91 kB / 0.5593 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.2941, allocations: 0.9954 MB / 0.5603 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.2941, allocations: 3.938 kB / 0.5603 GB, free: 7.625 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.2947, allocations: 231.7 kB / 0.5605 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.296, allocations: 426.2 kB / 0.5609 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.781e-05/0.296, allocations: 43.97 kB / 0.5609 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/0.2994, allocations: 3.488 MB / 0.5643 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2994, allocations: 7.969 kB / 0.5643 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/0.3036, allocations: 2.337 MB / 0.5666 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.3041, allocations: 215.1 kB / 0.5668 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.3042, allocations: 24.12 kB / 0.5669 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.3046, allocations: 32 kB / 0.5669 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.3048, allocations: 112.7 kB / 0.567 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.3049, allocations: 55.97 kB / 0.567 GB, free: 436 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004822/0.3054, allocations: 443.1 kB / 0.5675 GB, free: 15.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3054, allocations: 0 / 0.5675 GB, free: 15.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002132/0.3075, allocations: 0.8337 MB / 0.5683 GB, free: 15.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (solution.temperature,P.logn,S.logn,ES.logn,E.logn,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001604/0.3091, allocations: 0.9615 MB / 0.5692 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.3115, allocations: 1.508 MB / 0.5707 GB, free: 12.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3115, allocations: 0 / 0.5707 GB, free: 12.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3126, allocations: 0.855 MB / 0.5715 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3136, allocations: 242.6 kB / 0.5718 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.3175, allocations: 2.418 MB / 0.5741 GB, free: 9.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.3179, allocations: 0.5332 MB / 0.5746 GB, free: 8.496 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008108/0.3188, allocations: 296.6 kB / 0.5749 GB, free: 8.203 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.319, allocations: 176.4 kB / 0.5751 GB, free: 8.031 MB / 490.7 MB Notification: Performance of SimCode: time 2.885e-06/0.319, allocations: 0 / 0.5751 GB, free: 8.031 MB / 490.7 MB Notification: Performance of Templates: time 0.2858/0.6048, allocations: 28.69 MB / 0.6031 GB, free: 99.9 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.sim & ./Chemical_Chemical.Obsolete.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.357275221031159] Failed to read output from testmodel.py, exit status != 0: 0.8502440300071612 0.619682606 0.384182362 Calling exit ...