Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.EnzymeKinetics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") translateModel(Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 103.3 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 194 kB / 17.3 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08657/0.08657, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 61.3 kB / 371.7 MB, free: 50.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1219, allocations: 53.61 MB / 425.4 MB, free: 13.32 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.EnzymeKinetics): time 0.03528/0.1572, allocations: 26.18 MB / 451.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02243/0.1797, allocations: 19.47 MB / 471 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.1809, allocations: 15.94 kB / 471 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.1821, allocations: 424.8 kB / 471.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.1867, allocations: 1.633 MB / 473.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006484/0.1932, allocations: 2.485 MB / 475.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002705/0.1959, allocations: 1.974 MB / 477.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.1972, allocations: 1.122 MB / 478.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.1983, allocations: 0.9976 MB / 479.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.1997, allocations: 1.11 MB / 480.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.2, allocations: 172 kB / 480.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007001/0.207, allocations: 2.157 MB / 483.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005987/0.2076, allocations: 434.7 kB / 483.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.2089, allocations: 0.8557 MB / 484.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.2213, allocations: 4.103 MB / 488.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2213, allocations: 0 / 488.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2213, allocations: 0 / 488.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.239e-05/0.2213, allocations: 0 / 488.5 MB, free: 14.17 MB / 366.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.00478/0.2261, allocations: 2.196 MB / 490.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.2262, allocations: 8.031 kB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.2277, allocations: 330.7 kB / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.2293, allocations: 0.8146 MB / 491.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.2295, allocations: 158.6 kB / 492 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.2298, allocations: 140.3 kB / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/0.2329, allocations: 1.713 MB / 493.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.233, allocations: 0 / 493.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.2331, allocations: 56 kB / 493.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.2332, allocations: 32 kB / 493.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.2366, allocations: 2.185 MB / 496.1 MB, free: 6.395 MB / 366.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.009258/0.2459, allocations: 5.476 MB / 0.4898 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/0.2508, allocations: 3.229 MB / 0.493 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.252, allocations: 0.8167 MB / 0.4937 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.2624, allocations: 7 MB / 0.5006 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.2625, allocations: 47.5 kB / 0.5006 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006382/0.2632, allocations: 126.9 kB / 0.5008 GB, free: 4.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 4.488e-06/0.2632, allocations: 0 / 0.5008 GB, free: 4.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.315/0.5782, allocations: 4.499 MB / 0.5051 GB, free: 78.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.5783, allocations: 66.09 kB / 0.5052 GB, free: 78.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.58, allocations: 0.7251 MB / 0.5059 GB, free: 77.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002947/0.5803, allocations: 46.23 kB / 0.506 GB, free: 77.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005695/0.5809, allocations: 0.643 MB / 0.5066 GB, free: 77.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006399/0.5815, allocations: 410 kB / 0.507 GB, free: 77.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007662/0.5823, allocations: 296.5 kB / 0.5073 GB, free: 77.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5825, allocations: 352.7 kB / 0.5076 GB, free: 77.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.5839, allocations: 479 kB / 0.5081 GB, free: 77.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.5859, allocations: 0.9814 MB / 0.509 GB, free: 76.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/0.5897, allocations: 1.585 MB / 0.5106 GB, free: 75.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/0.5898, allocations: 3.938 kB / 0.5106 GB, free: 75.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00956/0.5994, allocations: 1.986 MB / 0.5125 GB, free: 74.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.5994, allocations: 12.47 kB / 0.5125 GB, free: 74.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-05/0.5995, allocations: 20.72 kB / 0.5125 GB, free: 74.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003916/0.6034, allocations: 441.3 kB / 0.513 GB, free: 74.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.6055, allocations: 374.5 kB / 0.5133 GB, free: 74.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007106/0.6126, allocations: 3.871 MB / 0.5171 GB, free: 71.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.6147, allocations: 56.69 kB / 0.5171 GB, free: 71.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005074/0.6152, allocations: 87.95 kB / 0.5172 GB, free: 71.21 MB / 382.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.001173/0.6164, allocations: 316.9 kB / 0.5175 GB, free: 70.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005214/0.6169, allocations: 104.7 kB / 0.5176 GB, free: 70.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.6271, allocations: 1.799 MB / 0.5194 GB, free: 70.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/0.6272, allocations: 15.84 kB / 0.5194 GB, free: 70.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.304e-05/0.6273, allocations: 0.5625 kB / 0.5194 GB, free: 70.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/0.6274, allocations: 10.28 kB / 0.5194 GB, free: 70.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/0.6318, allocations: 1.341 MB / 0.5207 GB, free: 69.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/0.6319, allocations: 2.859 kB / 0.5207 GB, free: 69.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.6336, allocations: 230.8 kB / 0.5209 GB, free: 69.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003975/0.6376, allocations: 428.6 kB / 0.5214 GB, free: 69.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/0.6378, allocations: 40.86 kB / 0.5214 GB, free: 69.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006897/0.6447, allocations: 3.775 MB / 0.5251 GB, free: 66.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.6448, allocations: 3.969 kB / 0.5251 GB, free: 66.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/0.6554, allocations: 2.35 MB / 0.5274 GB, free: 65.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008403/0.6562, allocations: 287.1 kB / 0.5277 GB, free: 64.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.6565, allocations: 27.31 kB / 0.5277 GB, free: 64.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.6577, allocations: 35.23 kB / 0.5277 GB, free: 64.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004005/0.6581, allocations: 103.8 kB / 0.5278 GB, free: 64.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.6583, allocations: 46.98 kB / 0.5279 GB, free: 64.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000809/0.6591, allocations: 487.3 kB / 0.5283 GB, free: 64.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6591, allocations: 2.688 kB / 0.5283 GB, free: 64.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003417/0.6625, allocations: 0.8275 MB / 0.5291 GB, free: 64.44 MB / 382.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.00237/0.6649, allocations: 0.9227 MB / 0.53 GB, free: 64.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003952/0.6689, allocations: 1.676 MB / 0.5317 GB, free: 63.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6689, allocations: 0 / 0.5317 GB, free: 63.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.6701, allocations: 0.9985 MB / 0.5326 GB, free: 62.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.6712, allocations: 237 kB / 0.5329 GB, free: 62.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.6746, allocations: 2.388 MB / 0.5352 GB, free: 61.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.6751, allocations: 1.121 MB / 0.5363 GB, free: 59.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008959/0.676, allocations: 311.8 kB / 0.5366 GB, free: 59.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.6763, allocations: 179.3 kB / 0.5368 GB, free: 59.57 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6764, allocations: 0 / 0.5368 GB, free: 59.57 MB / 382.1 MB Notification: Performance of Templates: time 0.03367/0.71, allocations: 28.33 MB / 0.5644 GB, free: 32.21 MB / 382.1 MB make -j1 -f Chemical_Chemical.Examples.EnzymeKinetics.makefile (rm -f Chemical_Chemical.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Examples.EnzymeKinetics.sim & ./Chemical_Chemical.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1)