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.001058/0.001058, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001073/0.001073, allocations: 186.1 kB / 17.35 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.296/1.296, allocations: 222.9 MB / 241.1 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.07238/0.07238, allocations: 15.31 MB / 306.5 MB, free: 15.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 55.91 kB / 425.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07837/0.07953, allocations: 53.62 MB / 479.5 MB, free: 5.82 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.03333/0.1129, allocations: 26.4 MB / 0.494 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1981/0.311, allocations: 19.44 MB / 0.513 GB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005397/0.3116, allocations: 17.53 kB / 0.513 GB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.3124, allocations: 420.2 kB / 0.5134 GB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.3155, allocations: 1.637 MB / 0.515 GB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.3205, allocations: 2.486 MB / 0.5174 GB, free: 16.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.3223, allocations: 1.976 MB / 0.5194 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.3234, allocations: 1.115 MB / 0.5205 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.3244, allocations: 0.994 MB / 0.5214 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.3257, allocations: 1.119 MB / 0.5225 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.326, allocations: 171.8 kB / 0.5227 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/0.3313, allocations: 2.163 MB / 0.5248 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.3316, allocations: 423.2 kB / 0.5252 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006398/0.3323, allocations: 0.8577 MB / 0.526 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005308/0.3376, allocations: 4.112 MB / 0.5301 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3376, allocations: 2.656 kB / 0.5301 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3376, allocations: 1.125 kB / 0.5301 GB, free: 12.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.3376, allocations: 0 / 0.5301 GB, free: 12.73 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.003602/0.3412, allocations: 2.201 MB / 0.5322 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3413, allocations: 8 kB / 0.5322 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.3427, allocations: 341.7 kB / 0.5325 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.3437, allocations: 0.8093 MB / 0.5333 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.3438, allocations: 157.4 kB / 0.5335 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.3441, allocations: 136.5 kB / 0.5336 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.3465, allocations: 1.714 MB / 0.5353 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.3465, allocations: 3.938 kB / 0.5353 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.3467, allocations: 50.97 kB / 0.5353 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.3467, allocations: 33.78 kB / 0.5354 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.3495, allocations: 2.188 MB / 0.5375 GB, free: 8.457 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.007249/0.3568, allocations: 5.485 MB / 0.5429 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.3609, allocations: 3.231 MB / 0.546 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.3619, allocations: 0.8177 MB / 0.5468 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008857/0.3708, allocations: 6.985 MB / 0.5536 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3709, allocations: 50.16 kB / 0.5537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004475/0.3713, allocations: 122.8 kB / 0.5538 GB, free: 7.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 2.555e-06/0.3713, allocations: 0 / 0.5538 GB, free: 7.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.01709/0.3884, allocations: 4.518 MB / 0.5582 GB, free: 3.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.3885, allocations: 63.06 kB / 0.5583 GB, free: 3.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.3893, allocations: 0.7314 MB / 0.559 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/0.3894, allocations: 45.7 kB / 0.559 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.3898, allocations: 0.645 MB / 0.5597 GB, free: 1.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.3901, allocations: 415.8 kB / 0.5601 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.3904, allocations: 294 kB / 0.5603 GB, free: 1.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3906, allocations: 353.9 kB / 0.5607 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/0.3914, allocations: 479.8 kB / 0.5611 GB, free: 288 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.3925, allocations: 0.985 MB / 0.5621 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.3947, allocations: 1.581 MB / 0.5636 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3947, allocations: 4 kB / 0.5636 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005608/0.4003, allocations: 1.99 MB / 0.5656 GB, free: 11.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4004, allocations: 14.66 kB / 0.5656 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.4004, allocations: 20 kB / 0.5656 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.403, allocations: 433.1 kB / 0.566 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.4042, allocations: 379.4 kB / 0.5664 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005306/0.4095, allocations: 3.876 MB / 0.5702 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009739/0.4105, allocations: 59.92 kB / 0.5702 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.4106, allocations: 87.97 kB / 0.5703 GB, free: 6.246 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.0004966/0.4111, allocations: 312 kB / 0.5706 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.4114, allocations: 102.7 kB / 0.5707 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005727/0.4171, allocations: 1.806 MB / 0.5725 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.4171, allocations: 10.62 kB / 0.5725 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.4171, allocations: 6.625 kB / 0.5725 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.4176, allocations: 279.6 kB / 0.5728 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.4177, allocations: 20 kB / 0.5728 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.4184, allocations: 27.98 kB / 0.5728 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.4186, allocations: 108.8 kB / 0.5729 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003724/0.4223, allocations: 1.46 MB / 0.5743 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002822/0.4252, allocations: 1.981 MB / 0.5763 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007915/0.426, allocations: 0.5369 MB / 0.5768 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005306/0.4265, allocations: 479 kB / 0.5773 GB, free: 15.16 MB / 430.1 MB Notification: Performance of Backend: time 5.01e-07/0.4265, allocations: 6.594 kB / 0.5773 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004621/0.4312, allocations: 2.371 MB / 0.5796 GB, free: 12.91 MB / 430.1 MB Notification: Performance of SimCode: time 0.003176/0.4343, allocations: 2.633 MB / 0.5821 GB, free: 10.29 MB / 430.1 MB Notification: Performance of Templates: time 0.04447/0.4788, allocations: 32.37 MB / 0.6138 GB, free: 10.5 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)