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.001858/0.001858, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002624/0.002624, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.1356/0.1356, allocations: 23.93 MB / 337.1 MB, free: 10.93 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.001965/0.001965, allocations: 71.89 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 59.87 MB / 0.5198 GB, free: 9.801 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.07168/0.3949, allocations: 26.89 MB / 0.5461 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02455/0.4195, allocations: 17.18 MB / 0.5629 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.4216, allocations: 23.81 kB / 0.5629 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.4229, allocations: 375 kB / 0.5632 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006488/0.4294, allocations: 1.67 MB / 0.5649 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008825/0.4382, allocations: 2.531 MB / 0.5673 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003395/0.4416, allocations: 1.981 MB / 0.5693 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.443, allocations: 0.9354 MB / 0.5702 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.4444, allocations: 1.009 MB / 0.5712 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.4462, allocations: 1.145 MB / 0.5723 GB, free: 4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003058/0.4465, allocations: 172 kB / 0.5725 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006763/0.4532, allocations: 2.106 MB / 0.5745 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005169/0.4537, allocations: 430.7 kB / 0.5749 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000914/0.4547, allocations: 0.7276 MB / 0.5756 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009945/0.4646, allocations: 4.234 MB / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4646, allocations: 0 / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4646, allocations: 0 / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.4646, allocations: 0 / 0.5798 GB, free: 12.32 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.004716/0.4693, allocations: 2.162 MB / 0.5819 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4694, allocations: 12.02 kB / 0.5819 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.471, allocations: 339.5 kB / 0.5822 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.4725, allocations: 0.7613 MB / 0.583 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.4727, allocations: 214 kB / 0.5832 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.4729, allocations: 140.3 kB / 0.5833 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.4759, allocations: 1.721 MB / 0.585 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.4759, allocations: 4 kB / 0.585 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.4761, allocations: 52 kB / 0.585 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.4761, allocations: 32 kB / 0.5851 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.4797, allocations: 2.173 MB / 0.5872 GB, free: 4.586 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.009215/0.4889, allocations: 4.429 MB / 0.5915 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005175/0.494, allocations: 2.711 MB / 0.5942 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.4952, allocations: 0.727 MB / 0.5949 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008909/0.5041, allocations: 3.79 MB / 0.5986 GB, free: 8.805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.5042, allocations: 43.56 kB / 0.5986 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000681/0.5049, allocations: 135.2 kB / 0.5987 GB, free: 8.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.815e-06/0.5049, allocations: 0 / 0.5987 GB, free: 8.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.0194/0.5243, allocations: 4.275 MB / 0.6029 GB, free: 4.312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.5243, allocations: 68.39 kB / 0.603 GB, free: 4.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/0.5253, allocations: 0.7114 MB / 0.6037 GB, free: 3.512 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.5254, allocations: 49.7 kB / 0.6037 GB, free: 3.457 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.5259, allocations: 0.6638 MB / 0.6044 GB, free: 2.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.5264, allocations: 428.4 kB / 0.6048 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.5268, allocations: 299.4 kB / 0.6051 GB, free: 2.062 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.527, allocations: 349.9 kB / 0.6054 GB, free: 1.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/0.5279, allocations: 479.8 kB / 0.6058 GB, free: 1.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.5292, allocations: 0.984 MB / 0.6068 GB, free: 36 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.5316, allocations: 1.581 MB / 0.6084 GB, free: 14.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.5316, allocations: 8 kB / 0.6084 GB, free: 14.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006183/0.5378, allocations: 1.979 MB / 0.6103 GB, free: 12.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.5378, allocations: 15.94 kB / 0.6103 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/0.5378, allocations: 16 kB / 0.6103 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.5408, allocations: 446.9 kB / 0.6108 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.5422, allocations: 367.4 kB / 0.6111 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/0.5484, allocations: 3.602 MB / 0.6146 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5496, allocations: 51.94 kB / 0.6147 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.5498, allocations: 87.97 kB / 0.6148 GB, free: 7.441 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.0006325/0.5505, allocations: 317.4 kB / 0.6151 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.5507, allocations: 107.3 kB / 0.6152 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005958/0.5567, allocations: 1.803 MB / 0.6169 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.5567, allocations: 15.94 kB / 0.6169 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5567, allocations: 0 / 0.6169 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.5567, allocations: 11.97 kB / 0.6169 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.5584, allocations: 1.003 MB / 0.6179 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5584, allocations: 0 / 0.6179 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000938/0.5594, allocations: 231.7 kB / 0.6181 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/0.5622, allocations: 418.1 kB / 0.6185 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.5623, allocations: 47.97 kB / 0.6186 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005406/0.5677, allocations: 3.492 MB / 0.622 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5677, allocations: 4.031 kB / 0.622 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006394/0.5741, allocations: 2.337 MB / 0.6243 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/0.5747, allocations: 215.2 kB / 0.6245 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.5748, allocations: 20 kB / 0.6245 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/0.5755, allocations: 28.19 kB / 0.6245 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.5758, allocations: 112.7 kB / 0.6246 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.5759, allocations: 55.95 kB / 0.6247 GB, free: 12.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005909/0.5765, allocations: 455 kB / 0.6251 GB, free: 12.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5765, allocations: 0 / 0.6251 GB, free: 12.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002386/0.5789, allocations: 0.8298 MB / 0.6259 GB, free: 11.65 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.001782/0.5807, allocations: 0.9517 MB / 0.6269 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.5836, allocations: 1.516 MB / 0.6284 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5836, allocations: 4 kB / 0.6284 GB, free: 9.141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.5851, allocations: 0.8589 MB / 0.6292 GB, free: 8.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.5863, allocations: 231.5 kB / 0.6294 GB, free: 8.035 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.5911, allocations: 2.441 MB / 0.6318 GB, free: 5.555 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.5918, allocations: 0.5332 MB / 0.6323 GB, free: 4.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001122/0.5929, allocations: 296.5 kB / 0.6326 GB, free: 4.688 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.5934, allocations: 179.3 kB / 0.6328 GB, free: 4.512 MB / 478.1 MB Notification: Performance of SimCode: time 1.823e-06/0.5934, allocations: 0 / 0.6328 GB, free: 4.512 MB / 478.1 MB Notification: Performance of Templates: time 0.04652/0.6399, allocations: 30.83 MB / 0.6629 GB, free: 5.875 MB / 0.4981 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.908576739995624] Failed to read output from testmodel.py, exit status != 0: 0.649071723993984 0.662953236 0.19516060300000002 Calling exit ...