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.001256/0.001256, allocations: 106.7 kB / 16.41 MB, free: 6.027 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.001314/0.001314, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08625/0.08625, allocations: 15.3 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 425.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 53.62 MB / 479.5 MB, free: 5.805 MB / 350.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.04385/0.1474, allocations: 26.39 MB / 0.494 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2514/0.3987, allocations: 19.44 MB / 0.513 GB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.3998, allocations: 21.62 kB / 0.513 GB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.401, allocations: 419.2 kB / 0.5134 GB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.4057, allocations: 1.642 MB / 0.515 GB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007088/0.4128, allocations: 2.479 MB / 0.5174 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.416, allocations: 1.976 MB / 0.5194 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.4176, allocations: 1.12 MB / 0.5205 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.4192, allocations: 0.9924 MB / 0.5214 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.421, allocations: 1.12 MB / 0.5225 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.4214, allocations: 172 kB / 0.5227 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008577/0.4299, allocations: 2.156 MB / 0.5248 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006764/0.4307, allocations: 429 kB / 0.5252 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.4319, allocations: 0.8568 MB / 0.526 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.4428, allocations: 4.114 MB / 0.53 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4429, allocations: 0 / 0.53 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4429, allocations: 0 / 0.53 GB, free: 12.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.214e-05/0.4429, allocations: 0 / 0.53 GB, free: 12.71 MB / 382.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.004734/0.4477, allocations: 2.204 MB / 0.5322 GB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4477, allocations: 11.38 kB / 0.5322 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.4493, allocations: 335.5 kB / 0.5325 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.4505, allocations: 0.8077 MB / 0.5333 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.4506, allocations: 159.6 kB / 0.5335 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.4508, allocations: 144.3 kB / 0.5336 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.4534, allocations: 1.712 MB / 0.5353 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.4534, allocations: 4.562 kB / 0.5353 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.4536, allocations: 54.91 kB / 0.5353 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.4536, allocations: 32.12 kB / 0.5354 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.4564, allocations: 2.181 MB / 0.5375 GB, free: 8.434 MB / 382.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.007472/0.4639, allocations: 5.492 MB / 0.5429 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.4679, allocations: 3.22 MB / 0.546 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.469, allocations: 0.813 MB / 0.5468 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009595/0.4786, allocations: 6.989 MB / 0.5536 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.4787, allocations: 47.5 kB / 0.5537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005846/0.4793, allocations: 126.8 kB / 0.5538 GB, free: 7.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 4.518e-06/0.4793, allocations: 2.656 kB / 0.5538 GB, free: 7.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.0176/0.4969, allocations: 4.513 MB / 0.5582 GB, free: 3.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.497, allocations: 68.41 kB / 0.5583 GB, free: 3.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.498, allocations: 0.7236 MB / 0.559 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.4981, allocations: 52.36 kB / 0.559 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.4985, allocations: 0.6405 MB / 0.5597 GB, free: 1.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.4989, allocations: 406.9 kB / 0.56 GB, free: 1.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000405/0.4993, allocations: 299.3 kB / 0.5603 GB, free: 1.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4994, allocations: 353.9 kB / 0.5607 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007996/0.5002, allocations: 482.4 kB / 0.5611 GB, free: 256 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.5014, allocations: 0.9775 MB / 0.5621 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.5035, allocations: 1.582 MB / 0.5636 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.5035, allocations: 4 kB / 0.5636 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005564/0.5091, allocations: 1.999 MB / 0.5656 GB, free: 11.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.5091, allocations: 12 kB / 0.5656 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.5092, allocations: 16 kB / 0.5656 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/0.5117, allocations: 444.3 kB / 0.566 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.513, allocations: 378.3 kB / 0.5664 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005345/0.5184, allocations: 3.871 MB / 0.5702 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.5197, allocations: 48 kB / 0.5702 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.5198, allocations: 94.59 kB / 0.5703 GB, free: 6.219 MB / 414.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.0005899/0.5204, allocations: 313.3 kB / 0.5706 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.5207, allocations: 102.7 kB / 0.5707 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005517/0.5262, allocations: 1.812 MB / 0.5725 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.5262, allocations: 12 kB / 0.5725 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5263, allocations: 0 / 0.5725 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.5263, allocations: 7.969 kB / 0.5725 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.5282, allocations: 1.343 MB / 0.5738 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5282, allocations: 0 / 0.5738 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/0.5291, allocations: 234.3 kB / 0.574 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00246/0.5316, allocations: 418.3 kB / 0.5744 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.5317, allocations: 47.97 kB / 0.5745 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.5366, allocations: 3.781 MB / 0.5782 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5367, allocations: 6.594 kB / 0.5782 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006052/0.5427, allocations: 2.341 MB / 0.5805 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005683/0.5433, allocations: 287.7 kB / 0.5807 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.5435, allocations: 20 kB / 0.5807 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.5441, allocations: 38.61 kB / 0.5808 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.5444, allocations: 107.5 kB / 0.5809 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5445, allocations: 51.97 kB / 0.5809 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005832/0.5451, allocations: 479 kB / 0.5814 GB, free: 10.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5451, allocations: 0 / 0.5814 GB, free: 10.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002646/0.5478, allocations: 0.8315 MB / 0.5822 GB, free: 9.734 MB / 430.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.001757/0.5495, allocations: 0.9192 MB / 0.5831 GB, free: 8.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.5523, allocations: 1.674 MB / 0.5847 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.5523, allocations: 0 / 0.5847 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.5537, allocations: 1.006 MB / 0.5857 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.5549, allocations: 238.9 kB / 0.586 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.5589, allocations: 2.422 MB / 0.5883 GB, free: 3.555 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.5596, allocations: 1.125 MB / 0.5894 GB, free: 2.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/0.5601, allocations: 238.7 kB / 0.5896 GB, free: 2.184 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5601, allocations: 0 / 0.5896 GB, free: 2.184 MB / 430.1 MB Notification: Performance of Templates: time 0.04008/0.6002, allocations: 36.79 MB / 0.6256 GB, free: 13.86 MB / 478.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)