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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.08595/0.08595, allocations: 15.29 MB / 31.09 MB, free: 3.109 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 194 kB / 36.14 MB, free: 2.145 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 264 MB, free: 4.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009822/0.0009821, allocations: 110.9 kB / 318.4 MB, free: 3.434 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0009629/0.000963, allocations: 57.19 kB / 382.7 MB, free: 48.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08211, allocations: 53.61 MB / 436.3 MB, free: 1.043 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721: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.0-master/package.mo:4721:7-4721: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.0314/0.1135, allocations: 24.44 MB / 460.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02/0.1336, allocations: 19.25 MB / 480 MB, free: 5.375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.135, allocations: 27.81 kB / 480 MB, free: 5.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.1363, allocations: 369.6 kB / 480.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004368/0.1407, allocations: 1.378 MB / 481.8 MB, free: 3.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006745/0.1474, allocations: 2.176 MB / 484 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002775/0.1502, allocations: 1.942 MB / 485.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.1516, allocations: 0.9722 MB / 486.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.1527, allocations: 0.9351 MB / 487.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.1541, allocations: 1.098 MB / 488.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.1543, allocations: 116 kB / 489 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.1604, allocations: 2.051 MB / 491.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.161, allocations: 378.8 kB / 491.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.162, allocations: 0.8049 MB / 492.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009213/0.1713, allocations: 3.795 MB / 496 MB, free: 5.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1713, allocations: 0 / 496 MB, free: 5.266 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1713, allocations: 0 / 496 MB, free: 5.266 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.1713, allocations: 0 / 496 MB, free: 5.266 MB / 362.7 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.004004/0.1754, allocations: 2.188 MB / 498.2 MB, free: 3.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1754, allocations: 16.88 kB / 498.2 MB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.1768, allocations: 334.6 kB / 498.6 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.1781, allocations: 0.7796 MB / 499.4 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.1782, allocations: 162.6 kB / 499.5 MB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.1785, allocations: 140.3 kB / 499.6 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.181, allocations: 1.713 MB / 0.4896 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.181, allocations: 0 / 0.4896 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.1811, allocations: 56 kB / 0.4897 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.1812, allocations: 32 kB / 0.4897 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/0.1843, allocations: 2.185 MB / 0.4918 GB, free: 13.52 MB / 378.7 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.008096/0.1924, allocations: 5.484 MB / 0.4972 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004657/0.197, allocations: 3.213 MB / 0.5003 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.1981, allocations: 0.8207 MB / 0.5011 GB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1702/0.3684, allocations: 7.011 MB / 0.508 GB, free: 68.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3684, allocations: 39.5 kB / 0.508 GB, free: 68.31 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005254/0.369, allocations: 131.1 kB / 0.5081 GB, free: 68.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 3.316e-06/0.369, allocations: 0 / 0.5081 GB, free: 68.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=116): time 0.01571/0.3847, allocations: 4.493 MB / 0.5125 GB, free: 67.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.3848, allocations: 63.56 kB / 0.5126 GB, free: 67.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008347/0.3856, allocations: 0.7311 MB / 0.5133 GB, free: 67.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.3857, allocations: 45.52 kB / 0.5133 GB, free: 67.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.386, allocations: 0.6441 MB / 0.514 GB, free: 66.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.3862, allocations: 403.8 kB / 0.5144 GB, free: 66.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/0.3866, allocations: 296.9 kB / 0.5146 GB, free: 66.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.3867, allocations: 361.4 kB / 0.515 GB, free: 66.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007546/0.3875, allocations: 480.4 kB / 0.5154 GB, free: 66.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009838/0.3885, allocations: 0.9854 MB / 0.5164 GB, free: 65.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.3903, allocations: 1.574 MB / 0.5179 GB, free: 65.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.3903, allocations: 5.312 kB / 0.5179 GB, free: 65.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005396/0.3957, allocations: 1.998 MB / 0.5199 GB, free: 64.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.3958, allocations: 11.62 kB / 0.5199 GB, free: 64.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.3958, allocations: 17.27 kB / 0.5199 GB, free: 64.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.3983, allocations: 439.3 kB / 0.5203 GB, free: 64.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.3995, allocations: 378.8 kB / 0.5207 GB, free: 64.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/0.4038, allocations: 3.491 MB / 0.5241 GB, free: 61.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.405, allocations: 98.11 kB / 0.5242 GB, free: 61.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.4051, allocations: 87.3 kB / 0.5243 GB, free: 61.43 MB / 378.7 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.000487/0.4056, allocations: 316.1 kB / 0.5246 GB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.4058, allocations: 108.3 kB / 0.5247 GB, free: 61.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/0.4111, allocations: 1.807 MB / 0.5265 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.4111, allocations: 16.88 kB / 0.5265 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4111, allocations: 1.062 kB / 0.5265 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.4111, allocations: 7.406 kB / 0.5265 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.4128, allocations: 1.337 MB / 0.5278 GB, free: 59.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.4129, allocations: 2.188 kB / 0.5278 GB, free: 59.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/0.4137, allocations: 235.2 kB / 0.528 GB, free: 59.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/0.4161, allocations: 418.8 kB / 0.5284 GB, free: 59.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.4162, allocations: 41.42 kB / 0.5285 GB, free: 59.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/0.4201, allocations: 3.418 MB / 0.5318 GB, free: 56.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4202, allocations: 1.094 kB / 0.5318 GB, free: 56.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/0.4414, allocations: 10.03 MB / 0.5416 GB, free: 49.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004876/0.4419, allocations: 288.8 kB / 0.5419 GB, free: 49.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.4421, allocations: 28.84 kB / 0.5419 GB, free: 49.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/0.4428, allocations: 38.14 kB / 0.5419 GB, free: 49.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.4431, allocations: 107 kB / 0.542 GB, free: 49.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-05/0.4432, allocations: 61.75 kB / 0.5421 GB, free: 49.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004772/0.4437, allocations: 473.8 kB / 0.5425 GB, free: 49.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4437, allocations: 3.938 kB / 0.5425 GB, free: 49.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002457/0.4461, allocations: 0.9603 MB / 0.5435 GB, free: 48.96 MB / 378.7 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.001272/0.4474, allocations: 0.8914 MB / 0.5444 GB, free: 48.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.4497, allocations: 1.668 MB / 0.546 GB, free: 46.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4497, allocations: 0 / 0.546 GB, free: 46.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.4508, allocations: 0.9954 MB / 0.547 GB, free: 45.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4519, allocations: 224.6 kB / 0.5472 GB, free: 45.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.4559, allocations: 3.757 MB / 0.5508 GB, free: 41.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.4564, allocations: 1.167 MB / 0.552 GB, free: 40.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001276/0.4577, allocations: 314.4 kB / 0.5523 GB, free: 40.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.4581, allocations: 190 kB / 0.5525 GB, free: 40.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4581, allocations: 0 / 0.5525 GB, free: 40.25 MB / 378.7 MB Notification: Performance of Templates: time 0.03295/0.491, allocations: 30.43 MB / 0.5822 GB, free: 10.52 MB / 378.7 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)