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.001167/0.001167, allocations: 105.3 kB / 15.98 MB, free: 6.355 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.001226/0.001226, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07931/0.07931, allocations: 15.3 MB / 306 MB, free: 15.48 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 62.22 kB / 370.5 MB, free: 50.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 53.62 MB / 424.1 MB, free: 14.36 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.03182/0.1365, allocations: 26.92 MB / 451 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.1579, allocations: 19.23 MB / 470.2 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.1593, allocations: 31.75 kB / 470.3 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.1606, allocations: 365.6 kB / 470.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.1653, allocations: 1.471 MB / 472.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006411/0.1718, allocations: 2.219 MB / 474.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002884/0.1747, allocations: 1.97 MB / 476.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.1761, allocations: 1.118 MB / 477.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.1774, allocations: 1.009 MB / 478.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.179, allocations: 1.137 MB / 479.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000334/0.1793, allocations: 175.9 kB / 479.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006339/0.1857, allocations: 2.215 MB / 481.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000701/0.1864, allocations: 434.8 kB / 482.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.1877, allocations: 0.8712 MB / 483.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.1927, allocations: 3.056 MB / 486.3 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1927, allocations: 0 / 486.3 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1927, allocations: 0 / 486.3 MB, free: 128 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.1928, allocations: 0 / 486.3 MB, free: 128 kB / 350.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.004619/0.1974, allocations: 2.203 MB / 488.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1975, allocations: 12.03 kB / 488.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.1991, allocations: 330.6 kB / 488.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.2004, allocations: 0.7796 MB / 489.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.2006, allocations: 166.5 kB / 489.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.2008, allocations: 140.3 kB / 489.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.2038, allocations: 1.709 MB / 491.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.2038, allocations: 0 / 491.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.204, allocations: 56 kB / 491.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.204, allocations: 32 kB / 491.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/0.2074, allocations: 2.189 MB / 493.9 MB, free: 8.367 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.009658/0.2171, allocations: 5.507 MB / 499.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005109/0.2222, allocations: 3.217 MB / 0.4908 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.2236, allocations: 0.8129 MB / 0.4916 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.234, allocations: 7.016 MB / 0.4985 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.2341, allocations: 51.44 kB / 0.4985 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006256/0.2348, allocations: 126.8 kB / 0.4986 GB, free: 6.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 3.737e-06/0.2348, allocations: 0 / 0.4986 GB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01946/0.2542, allocations: 4.497 MB / 0.503 GB, free: 1.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2543, allocations: 64.41 kB / 0.5031 GB, free: 1.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009252/0.2553, allocations: 0.7275 MB / 0.5038 GB, free: 1.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.2554, allocations: 45.7 kB / 0.5038 GB, free: 1.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.2558, allocations: 0.646 MB / 0.5045 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1892/0.445, allocations: 410.1 kB / 0.5049 GB, free: 79.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006653/0.4458, allocations: 292.3 kB / 0.5051 GB, free: 79.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4459, allocations: 355.2 kB / 0.5055 GB, free: 79.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007995/0.4467, allocations: 481 kB / 0.5059 GB, free: 79.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.4478, allocations: 0.9766 MB / 0.5069 GB, free: 78.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.45, allocations: 1.587 MB / 0.5084 GB, free: 77.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.45, allocations: 5.797 kB / 0.5085 GB, free: 77.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00584/0.4559, allocations: 1.993 MB / 0.5104 GB, free: 76.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.4559, allocations: 13.23 kB / 0.5104 GB, free: 76.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.4559, allocations: 19.5 kB / 0.5104 GB, free: 76.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00297/0.4589, allocations: 436.5 kB / 0.5108 GB, free: 76.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4602, allocations: 376.5 kB / 0.5112 GB, free: 76.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005135/0.4654, allocations: 3.867 MB / 0.515 GB, free: 73.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.4667, allocations: 89.58 kB / 0.5151 GB, free: 73.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.4669, allocations: 86.55 kB / 0.5152 GB, free: 73.41 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.0005396/0.4674, allocations: 329.4 kB / 0.5155 GB, free: 73.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.4676, allocations: 107.1 kB / 0.5156 GB, free: 73.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006187/0.4738, allocations: 1.804 MB / 0.5173 GB, free: 72.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.4739, allocations: 12.59 kB / 0.5173 GB, free: 72.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4739, allocations: 1.094 kB / 0.5173 GB, free: 72.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.4739, allocations: 10.27 kB / 0.5174 GB, free: 72.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.476, allocations: 1.335 MB / 0.5187 GB, free: 71.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.476, allocations: 1.062 kB / 0.5187 GB, free: 71.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009413/0.477, allocations: 233.6 kB / 0.5189 GB, free: 71.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/0.4798, allocations: 424 kB / 0.5193 GB, free: 71.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.4799, allocations: 37.53 kB / 0.5193 GB, free: 71.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/0.4846, allocations: 3.784 MB / 0.523 GB, free: 68.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4846, allocations: 4.484 kB / 0.523 GB, free: 68.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006159/0.4908, allocations: 2.351 MB / 0.5253 GB, free: 67.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/0.4913, allocations: 287 kB / 0.5256 GB, free: 67.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.4915, allocations: 24.81 kB / 0.5256 GB, free: 67.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.4922, allocations: 52.09 kB / 0.5257 GB, free: 67.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.4925, allocations: 105.2 kB / 0.5258 GB, free: 67.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.744e-05/0.4926, allocations: 61.67 kB / 0.5258 GB, free: 67.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005012/0.4931, allocations: 476.9 kB / 0.5263 GB, free: 66.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.4932, allocations: 0 / 0.5263 GB, free: 66.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002311/0.4955, allocations: 0.8262 MB / 0.5271 GB, free: 66.79 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.001538/0.497, allocations: 0.9162 MB / 0.528 GB, free: 66.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003618/0.5006, allocations: 1.784 MB / 0.5297 GB, free: 65.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5007, allocations: 0 / 0.5297 GB, free: 65.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.5019, allocations: 0.9961 MB / 0.5307 GB, free: 65.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5031, allocations: 246.1 kB / 0.5309 GB, free: 65.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.507, allocations: 3.004 MB / 0.5339 GB, free: 62.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.5075, allocations: 1.121 MB / 0.535 GB, free: 61.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/0.5081, allocations: 238 kB / 0.5352 GB, free: 61.03 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5081, allocations: 0 / 0.5352 GB, free: 61.03 MB / 382.1 MB Notification: Performance of Templates: time 0.03235/0.5404, allocations: 36.74 MB / 0.5711 GB, free: 25.18 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 -lv LOG_STATS > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1)