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.001383/0.001383, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001585/0.001585, allocations: 215 kB / 22.26 MB, free: 5.082 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.1267/0.1267, allocations: 23.85 MB / 336.3 MB, free: 11.19 MB / 270.1 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.002233/0.002233, allocations: 63.89 kB / 471.6 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2768, allocations: 59.86 MB / 0.519 GB, free: 9.84 MB / 382.1 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.03183/0.3086, allocations: 27.68 MB / 0.5461 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02369/0.3323, allocations: 19.61 MB / 0.5652 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009607/0.3333, allocations: 27.75 kB / 0.5653 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3344, allocations: 422.3 kB / 0.5657 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004337/0.3388, allocations: 1.673 MB / 0.5673 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005934/0.3447, allocations: 2.526 MB / 0.5698 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002872/0.3476, allocations: 1.977 MB / 0.5717 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.3489, allocations: 0.9391 MB / 0.5726 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.3502, allocations: 1.013 MB / 0.5736 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.3522, allocations: 1.145 MB / 0.5747 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.3525, allocations: 176 kB / 0.5749 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005405/0.3579, allocations: 2.18 MB / 0.577 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005348/0.3585, allocations: 426.8 kB / 0.5774 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.3596, allocations: 0.8634 MB / 0.5783 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007301/0.3669, allocations: 4.249 MB / 0.5824 GB, free: 9.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3669, allocations: 0 / 0.5824 GB, free: 9.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3669, allocations: 4 kB / 0.5824 GB, free: 9.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.417e-05/0.367, allocations: 0 / 0.5824 GB, free: 9.152 MB / 430.1 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.004957/0.3719, allocations: 2.159 MB / 0.5845 GB, free: 6.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.372, allocations: 8.031 kB / 0.5845 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.3735, allocations: 343.3 kB / 0.5849 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.3751, allocations: 0.7652 MB / 0.5856 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.3753, allocations: 210 kB / 0.5858 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.3756, allocations: 144.3 kB / 0.5859 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.3785, allocations: 1.721 MB / 0.5876 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.3786, allocations: 3.938 kB / 0.5876 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.3787, allocations: 56 kB / 0.5877 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.3788, allocations: 32 kB / 0.5877 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003664/0.3824, allocations: 2.193 MB / 0.5899 GB, free: 1.395 MB / 430.1 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.009454/0.3919, allocations: 5.497 MB / 0.5952 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005116/0.397, allocations: 2.77 MB / 0.5979 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3982, allocations: 0.7348 MB / 0.5986 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008679/0.4069, allocations: 3.992 MB / 0.6025 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.4069, allocations: 43.5 kB / 0.6026 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006088/0.4075, allocations: 151.1 kB / 0.6027 GB, free: 3.934 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.896e-06/0.4075, allocations: 0 / 0.6027 GB, free: 3.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01772/0.4253, allocations: 4.271 MB / 0.6069 GB, free: 15.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.4253, allocations: 68.39 kB / 0.607 GB, free: 15.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.4263, allocations: 0.7354 MB / 0.6077 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.153e-05/0.4264, allocations: 45.7 kB / 0.6077 GB, free: 14.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/0.4269, allocations: 0.6638 MB / 0.6084 GB, free: 14.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.4272, allocations: 428.3 kB / 0.6088 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/0.4277, allocations: 295.4 kB / 0.6091 GB, free: 13.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4278, allocations: 353.9 kB / 0.6094 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008807/0.4287, allocations: 479.8 kB / 0.6099 GB, free: 12.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.4301, allocations: 0.984 MB / 0.6108 GB, free: 11.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.4324, allocations: 1.585 MB / 0.6124 GB, free: 9.508 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.4324, allocations: 8 kB / 0.6124 GB, free: 9.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005898/0.4383, allocations: 1.979 MB / 0.6143 GB, free: 7.508 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.4384, allocations: 15.12 kB / 0.6143 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.4384, allocations: 16.09 kB / 0.6143 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/0.4411, allocations: 446.1 kB / 0.6148 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.4424, allocations: 371.4 kB / 0.6151 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005901/0.4483, allocations: 3.679 MB / 0.6187 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.4493, allocations: 48 kB / 0.6188 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.4495, allocations: 91.97 kB / 0.6188 GB, free: 2.633 MB / 462.1 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.0006261/0.4501, allocations: 321.7 kB / 0.6191 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.4504, allocations: 115.3 kB / 0.6193 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005859/0.4562, allocations: 1.803 MB / 0.621 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.4563, allocations: 12 kB / 0.621 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4563, allocations: 0 / 0.621 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.4563, allocations: 7.922 kB / 0.621 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.4583, allocations: 1.314 MB / 0.6223 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.4583, allocations: 0 / 0.6223 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009269/0.4592, allocations: 231.6 kB / 0.6225 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002664/0.4619, allocations: 426.2 kB / 0.6229 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.462, allocations: 39.97 kB / 0.623 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/0.4675, allocations: 3.569 MB / 0.6265 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.4675, allocations: 7.969 kB / 0.6265 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006392/0.4739, allocations: 2.333 MB / 0.6288 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.4744, allocations: 219.2 kB / 0.629 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.4746, allocations: 24 kB / 0.629 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/0.4753, allocations: 36.06 kB / 0.629 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.4755, allocations: 112.8 kB / 0.6291 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.4756, allocations: 43.98 kB / 0.6292 GB, free: 7.684 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006409/0.4763, allocations: 483 kB / 0.6296 GB, free: 7.211 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4763, allocations: 4 kB / 0.6296 GB, free: 7.207 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002344/0.4786, allocations: 0.8415 MB / 0.6305 GB, free: 6.363 MB / 478.1 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.001875/0.4805, allocations: 0.9457 MB / 0.6314 GB, free: 5.406 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.4834, allocations: 1.515 MB / 0.6329 GB, free: 3.863 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4834, allocations: 1.125 kB / 0.6329 GB, free: 3.863 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.4849, allocations: 0.8591 MB / 0.6337 GB, free: 2.977 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.486, allocations: 249.8 kB / 0.6339 GB, free: 2.742 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.4904, allocations: 2.43 MB / 0.6363 GB, free: 280 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008342/0.4913, allocations: 1.125 MB / 0.6374 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009541/0.4922, allocations: 300.8 kB / 0.6377 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.4926, allocations: 183.3 kB / 0.6379 GB, free: 14.64 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4926, allocations: 0 / 0.6379 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Templates: time 0.04834/0.541, allocations: 29.87 MB / 0.667 GB, free: 0.8438 MB / 0.4981 GB " [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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.71659140009433] Failed to read output from testmodel.py, exit status != 0: 0.5498326881788671 0.5640919449999999 0.19413722199999994 Calling exit ...