Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.002021/0.002021, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002538/0.002538, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1433/0.1433, allocations: 23.89 MB / 332.7 MB, free: 12.33 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics") translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002618/0.002618, allocations: 67.89 kB / 466.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3288, allocations: 59.84 MB / 0.514 GB, free: 9.141 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.04081/0.3696, allocations: 27.67 MB / 0.541 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02795/0.3976, allocations: 19.57 MB / 0.5602 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.3993, allocations: 23.81 kB / 0.5602 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.4007, allocations: 422.3 kB / 0.5606 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005832/0.4066, allocations: 1.651 MB / 0.5622 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007919/0.4145, allocations: 2.51 MB / 0.5646 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003666/0.4182, allocations: 1.98 MB / 0.5666 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.4196, allocations: 0.9506 MB / 0.5675 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.421, allocations: 1.013 MB / 0.5685 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.4228, allocations: 1.133 MB / 0.5696 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004021/0.4232, allocations: 180 kB / 0.5698 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007127/0.4303, allocations: 2.184 MB / 0.5719 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006468/0.431, allocations: 430.7 kB / 0.5723 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.4322, allocations: 0.8596 MB / 0.5732 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009867/0.442, allocations: 4.245 MB / 0.5773 GB, free: 10.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.442, allocations: 3.938 kB / 0.5773 GB, free: 10.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.442, allocations: 0 / 0.5773 GB, free: 10.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.847e-05/0.4421, allocations: 0 / 0.5773 GB, free: 10.27 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.00522/0.4473, allocations: 2.238 MB / 0.5795 GB, free: 7.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4473, allocations: 8.031 kB / 0.5795 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.4491, allocations: 335.5 kB / 0.5798 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.4505, allocations: 0.8308 MB / 0.5806 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.4508, allocations: 162.6 kB / 0.5808 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/0.4511, allocations: 136.3 kB / 0.5809 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/0.4543, allocations: 1.721 MB / 0.5826 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.4544, allocations: 0 / 0.5826 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.4546, allocations: 59.94 kB / 0.5827 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.4546, allocations: 36 kB / 0.5827 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003941/0.4586, allocations: 2.196 MB / 0.5848 GB, free: 2.406 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.009863/0.4684, allocations: 5.555 MB / 0.5903 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00582/0.4742, allocations: 3.139 MB / 0.5933 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.4755, allocations: 0.7348 MB / 0.594 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.4862, allocations: 7.045 MB / 0.6009 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4862, allocations: 43.5 kB / 0.601 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006244/0.4869, allocations: 147.1 kB / 0.6011 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.297e-06/0.4869, allocations: 4 kB / 0.6011 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01828/0.5051, allocations: 4.51 MB / 0.6055 GB, free: 12.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.5052, allocations: 64.41 kB / 0.6056 GB, free: 11.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.5062, allocations: 0.7316 MB / 0.6063 GB, free: 11.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5063, allocations: 45.7 kB / 0.6063 GB, free: 11.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/0.5069, allocations: 0.6561 MB / 0.607 GB, free: 10.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/0.5073, allocations: 432.3 kB / 0.6074 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004576/0.5077, allocations: 291.5 kB / 0.6077 GB, free: 9.758 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5079, allocations: 357.9 kB / 0.608 GB, free: 9.402 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009242/0.5088, allocations: 479.8 kB / 0.6085 GB, free: 8.934 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.5103, allocations: 0.984 MB / 0.6094 GB, free: 7.727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.5128, allocations: 1.577 MB / 0.611 GB, free: 5.922 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.5128, allocations: 4 kB / 0.611 GB, free: 5.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006005/0.5188, allocations: 1.987 MB / 0.6129 GB, free: 3.914 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.5188, allocations: 12 kB / 0.6129 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.5189, allocations: 16 kB / 0.6129 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/0.5216, allocations: 450.6 kB / 0.6134 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.5229, allocations: 371.4 kB / 0.6137 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/0.529, allocations: 3.881 MB / 0.6175 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.5301, allocations: 56.06 kB / 0.6176 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.5302, allocations: 91.95 kB / 0.6177 GB, free: 14.77 MB / 478.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.0005706/0.5308, allocations: 320.2 kB / 0.618 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.5311, allocations: 119.2 kB / 0.6181 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006072/0.5371, allocations: 1.792 MB / 0.6198 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.5372, allocations: 12 kB / 0.6198 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5372, allocations: 0 / 0.6198 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.5372, allocations: 7.969 kB / 0.6198 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.5394, allocations: 1.338 MB / 0.6211 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5394, allocations: 0 / 0.6211 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/0.5404, allocations: 243.8 kB / 0.6214 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/0.5431, allocations: 422.1 kB / 0.6218 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.5432, allocations: 39.98 kB / 0.6218 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00566/0.5488, allocations: 3.775 MB / 0.6255 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.5488, allocations: 7.969 kB / 0.6255 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006595/0.5554, allocations: 2.349 MB / 0.6278 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000593/0.556, allocations: 292.3 kB / 0.6281 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.5562, allocations: 27.98 kB / 0.6281 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/0.5568, allocations: 31.92 kB / 0.6281 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/0.5571, allocations: 116.8 kB / 0.6283 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.5572, allocations: 43.98 kB / 0.6283 GB, free: 3.438 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000658/0.5579, allocations: 479 kB / 0.6288 GB, free: 2.969 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5579, allocations: 0 / 0.6288 GB, free: 2.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002461/0.5604, allocations: 0.8415 MB / 0.6296 GB, free: 2.125 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.001758/0.5621, allocations: 0.9414 MB / 0.6305 GB, free: 1.172 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00322/0.5653, allocations: 1.591 MB / 0.632 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5653, allocations: 0 / 0.632 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.567, allocations: 0.9264 MB / 0.633 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.5683, allocations: 247.5 kB / 0.6332 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.5729, allocations: 2.427 MB / 0.6356 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/0.5737, allocations: 1.129 MB / 0.6367 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001089/0.5748, allocations: 300.8 kB / 0.6369 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000444/0.5752, allocations: 179.3 kB / 0.6371 GB, free: 10.22 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5752, allocations: 0 / 0.6371 GB, free: 10.22 MB / 494.1 MB Notification: Performance of Templates: time 0.04756/0.6228, allocations: 28.95 MB / 0.6654 GB, free: 13.36 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.sim & ./Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.063331438694149] Failed to read output from testmodel.py, exit status != 0: 0.632363686338067 0.645681658 0.200573103 Calling exit ...