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.001447/0.001447, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001542/0.001542, allocations: 222.1 kB / 22.25 MB, free: 5.098 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.812 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.1525/0.1525, allocations: 23.89 MB / 336.3 MB, free: 11.06 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.002048/0.002048, allocations: 71.84 kB / 471.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3458, allocations: 59.86 MB / 0.519 GB, free: 9.719 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.07396/0.4198, allocations: 26.97 MB / 0.5454 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02564/0.4454, allocations: 17.17 MB / 0.5621 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.4471, allocations: 23.81 kB / 0.5621 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.4485, allocations: 383 kB / 0.5625 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006631/0.4551, allocations: 1.661 MB / 0.5641 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009189/0.4643, allocations: 2.538 MB / 0.5666 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003717/0.468, allocations: 1.981 MB / 0.5685 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.4696, allocations: 0.9276 MB / 0.5695 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.4712, allocations: 1.017 MB / 0.5704 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.4732, allocations: 1.141 MB / 0.5716 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003224/0.4735, allocations: 176 kB / 0.5717 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006729/0.4802, allocations: 2.102 MB / 0.5738 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006795/0.4809, allocations: 434.7 kB / 0.5742 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.482, allocations: 0.7276 MB / 0.5749 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.4925, allocations: 4.237 MB / 0.579 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4925, allocations: 0 / 0.579 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4925, allocations: 0 / 0.579 GB, free: 12.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.4925, allocations: 0 / 0.579 GB, free: 12.34 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.004639/0.4972, allocations: 2.162 MB / 0.5812 GB, free: 10.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4972, allocations: 8.031 kB / 0.5812 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.4988, allocations: 339.3 kB / 0.5815 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.5004, allocations: 0.7653 MB / 0.5822 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.5006, allocations: 206 kB / 0.5824 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.5009, allocations: 144.2 kB / 0.5826 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.504, allocations: 1.728 MB / 0.5843 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.504, allocations: 0 / 0.5843 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.5042, allocations: 59.98 kB / 0.5843 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.5042, allocations: 32 kB / 0.5843 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003656/0.5078, allocations: 2.169 MB / 0.5865 GB, free: 4.605 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.009456/0.5173, allocations: 4.437 MB / 0.5908 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005444/0.5227, allocations: 2.709 MB / 0.5934 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.5241, allocations: 0.7309 MB / 0.5942 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009405/0.5335, allocations: 3.77 MB / 0.5978 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.5335, allocations: 43.56 kB / 0.5979 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000668/0.5342, allocations: 139.2 kB / 0.598 GB, free: 8.648 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.867e-06/0.5342, allocations: 4 kB / 0.598 GB, free: 8.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.0174/0.5516, allocations: 4.277 MB / 0.6022 GB, free: 4.332 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.5516, allocations: 64.41 kB / 0.6023 GB, free: 4.258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009599/0.5526, allocations: 0.7075 MB / 0.6029 GB, free: 3.539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.5527, allocations: 45.7 kB / 0.603 GB, free: 3.488 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005365/0.5533, allocations: 0.6677 MB / 0.6036 GB, free: 2.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.5537, allocations: 428.4 kB / 0.604 GB, free: 2.391 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004594/0.5542, allocations: 299.4 kB / 0.6043 GB, free: 2.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5543, allocations: 349.9 kB / 0.6047 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009352/0.5553, allocations: 479.8 kB / 0.6051 GB, free: 1.273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.5567, allocations: 0.9918 MB / 0.6061 GB, free: 56 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.5592, allocations: 1.573 MB / 0.6076 GB, free: 14.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.5592, allocations: 4 kB / 0.6076 GB, free: 14.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005845/0.565, allocations: 1.987 MB / 0.6096 GB, free: 12.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.5651, allocations: 16.12 kB / 0.6096 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.5651, allocations: 20 kB / 0.6096 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/0.5678, allocations: 438.1 kB / 0.61 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.5692, allocations: 375.4 kB / 0.6104 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005994/0.5752, allocations: 3.594 MB / 0.6139 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.5764, allocations: 55.94 kB / 0.6139 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.5766, allocations: 91.97 kB / 0.614 GB, free: 7.465 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.0006079/0.5772, allocations: 325.2 kB / 0.6143 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.5775, allocations: 103.3 kB / 0.6144 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005837/0.5833, allocations: 1.791 MB / 0.6162 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.5833, allocations: 15.94 kB / 0.6162 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5833, allocations: 3.984 kB / 0.6162 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.5833, allocations: 7.984 kB / 0.6162 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.5851, allocations: 0.9985 MB / 0.6172 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.5852, allocations: 0 / 0.6172 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009713/0.5861, allocations: 227.7 kB / 0.6174 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/0.5887, allocations: 422.2 kB / 0.6178 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.5888, allocations: 43.97 kB / 0.6179 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005585/0.5944, allocations: 3.496 MB / 0.6213 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5944, allocations: 0 / 0.6213 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006709/0.6011, allocations: 2.341 MB / 0.6236 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/0.6019, allocations: 219.2 kB / 0.6238 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.6021, allocations: 24 kB / 0.6238 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.6028, allocations: 28 kB / 0.6238 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.6031, allocations: 120.7 kB / 0.6239 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.6032, allocations: 43.98 kB / 0.624 GB, free: 12.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006978/0.6039, allocations: 451 kB / 0.6244 GB, free: 12.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6039, allocations: 0 / 0.6244 GB, free: 12.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002919/0.6068, allocations: 0.8376 MB / 0.6252 GB, free: 11.68 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.001793/0.6086, allocations: 0.9598 MB / 0.6262 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003183/0.6118, allocations: 1.516 MB / 0.6276 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6118, allocations: 0 / 0.6276 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.6133, allocations: 0.8511 MB / 0.6285 GB, free: 8.285 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6146, allocations: 246.1 kB / 0.6287 GB, free: 8.055 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.6192, allocations: 2.422 MB / 0.6311 GB, free: 5.594 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.6199, allocations: 0.5332 MB / 0.6316 GB, free: 5.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001147/0.621, allocations: 300.6 kB / 0.6319 GB, free: 4.723 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.6215, allocations: 179.3 kB / 0.632 GB, free: 4.547 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6215, allocations: 0 / 0.632 GB, free: 4.547 MB / 478.1 MB Notification: Performance of Templates: time 0.05299/0.6745, allocations: 30.84 MB / 0.6622 GB, free: 5.898 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: 6.433535452000797] Failed to read output from testmodel.py, exit status != 0: 0.6842968929558992 0.699581785 0.203680833 Calling exit ...