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.001332/0.001332, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001426/0.001426, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07719/0.07719, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.12 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1124, allocations: 53.61 MB / 479.5 MB, free: 5.789 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.05546/0.1679, allocations: 26.55 MB / 0.4942 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2215/0.3894, allocations: 19.45 MB / 0.5131 GB, free: 18.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007911/0.3902, allocations: 15.38 kB / 0.5132 GB, free: 18.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.3912, allocations: 423.8 kB / 0.5136 GB, free: 18.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.3951, allocations: 1.657 MB / 0.5152 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005999/0.4012, allocations: 2.499 MB / 0.5176 GB, free: 17.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002577/0.4038, allocations: 1.975 MB / 0.5196 GB, free: 16.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.4051, allocations: 1.108 MB / 0.5206 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.4064, allocations: 1.006 MB / 0.5216 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.4079, allocations: 1.107 MB / 0.5227 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003155/0.4082, allocations: 173.2 kB / 0.5229 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007288/0.4155, allocations: 2.161 MB / 0.525 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004388/0.4159, allocations: 426.2 kB / 0.5254 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009488/0.4169, allocations: 0.8612 MB / 0.5262 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009239/0.4261, allocations: 4.13 MB / 0.5303 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4262, allocations: 1.125 kB / 0.5303 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4262, allocations: 0 / 0.5303 GB, free: 12.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.163e-05/0.4262, allocations: 3.469 kB / 0.5303 GB, free: 12.75 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.004223/0.4304, allocations: 2.248 MB / 0.5325 GB, free: 11.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4305, allocations: 13.27 kB / 0.5325 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.4321, allocations: 347.4 kB / 0.5328 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.4333, allocations: 0.8083 MB / 0.5336 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.4334, allocations: 166.6 kB / 0.5337 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.4336, allocations: 137.7 kB / 0.5339 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.4361, allocations: 1.713 MB / 0.5355 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.4362, allocations: 6.625 kB / 0.5356 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.4363, allocations: 56.59 kB / 0.5356 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.4363, allocations: 30.16 kB / 0.5356 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.4392, allocations: 2.185 MB / 0.5378 GB, free: 8.375 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.007674/0.4469, allocations: 5.491 MB / 0.5431 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004229/0.4512, allocations: 3.222 MB / 0.5463 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.4523, allocations: 0.8206 MB / 0.5471 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009634/0.462, allocations: 6.996 MB / 0.5539 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.462, allocations: 50.31 kB / 0.554 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000623/0.4627, allocations: 130.1 kB / 0.5541 GB, free: 7.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 5.41e-06/0.4627, allocations: 2.688 kB / 0.5541 GB, free: 7.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.01892/0.4816, allocations: 4.535 MB / 0.5585 GB, free: 3.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.4817, allocations: 64.41 kB / 0.5586 GB, free: 3.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009478/0.4826, allocations: 0.7316 MB / 0.5593 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.4828, allocations: 48.3 kB / 0.5593 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.4832, allocations: 0.6579 MB / 0.56 GB, free: 1.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/0.4836, allocations: 438 kB / 0.5604 GB, free: 1.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/0.484, allocations: 291.5 kB / 0.5607 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4841, allocations: 353.9 kB / 0.561 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008694/0.485, allocations: 482.4 kB / 0.5615 GB, free: 64 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.4863, allocations: 0.9829 MB / 0.5624 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.4885, allocations: 1.579 MB / 0.564 GB, free: 13.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.4886, allocations: 4 kB / 0.564 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006096/0.4947, allocations: 2.008 MB / 0.5659 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.4947, allocations: 12 kB / 0.566 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.4947, allocations: 16 kB / 0.566 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.4976, allocations: 436.8 kB / 0.5664 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.4989, allocations: 374.1 kB / 0.5667 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005936/0.5049, allocations: 3.879 MB / 0.5705 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.5062, allocations: 54.61 kB / 0.5706 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/0.5064, allocations: 91.97 kB / 0.5707 GB, free: 6.023 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.0005861/0.507, allocations: 312 kB / 0.571 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.5073, allocations: 107.3 kB / 0.5711 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.5132, allocations: 1.811 MB / 0.5728 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.5133, allocations: 7.969 kB / 0.5728 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5133, allocations: 2.719 kB / 0.5728 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/0.5139, allocations: 293 kB / 0.5731 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.5141, allocations: 24 kB / 0.5731 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.5148, allocations: 30.64 kB / 0.5732 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.515, allocations: 100.8 kB / 0.5733 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004037/0.5191, allocations: 1.462 MB / 0.5747 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003107/0.5222, allocations: 1.982 MB / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008421/0.5231, allocations: 0.5375 MB / 0.5772 GB, free: 15.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006189/0.5237, allocations: 482.9 kB / 0.5776 GB, free: 14.92 MB / 430.1 MB Notification: Performance of Backend: time 6.01e-07/0.5237, allocations: 0 / 0.5776 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005417/0.5291, allocations: 2.386 MB / 0.58 GB, free: 12.66 MB / 430.1 MB Notification: Performance of SimCode: time 0.003866/0.533, allocations: 2.701 MB / 0.5826 GB, free: 9.973 MB / 430.1 MB Notification: Performance of Templates: time 0.0473/0.5803, allocations: 32.38 MB / 0.6142 GB, free: 10.19 MB / 462.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)