Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1355/0.1355, allocations: 17.45 MB / 277 MB, free: 11.58 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics") translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.194e-05, allocations: 9.203 kB / 352.8 MB, free: 10.2 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.Obsolete.Examples.EnzymeKinetics): time 0.04082/0.04085, allocations: 27.51 MB / 380.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02643/0.06728, allocations: 17.17 MB / 397.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009964/0.06828, allocations: 23.81 kB / 397.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.0696, allocations: 373 kB / 397.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.07502, allocations: 1.729 MB / 399.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00799/0.08301, allocations: 2.613 MB / 402.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.08648, allocations: 2.035 MB / 404.3 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.08825, allocations: 0.9593 MB / 405.2 MB, free: 5.793 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.09081, allocations: 1.377 MB / 406.6 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.09286, allocations: 0.9354 MB / 407.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005157/0.09337, allocations: 176 kB / 407.7 MB, free: 3.305 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006421/0.09979, allocations: 2.066 MB / 409.8 MB, free: 1.234 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007193/0.1005, allocations: 434.7 kB / 410.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.1018, allocations: 0.6353 MB / 410.8 MB, free: 176 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1389/0.2407, allocations: 4.508 MB / 415.3 MB, free: 37.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2407, allocations: 0 / 415.3 MB, free: 37.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2407, allocations: 0 / 415.3 MB, free: 37.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.961e-05/0.2408, allocations: 1.594 kB / 415.3 MB, free: 37.34 MB / 330.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.005236/0.246, allocations: 2.143 MB / 417.5 MB, free: 36.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.246, allocations: 11.69 kB / 417.5 MB, free: 36.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.2483, allocations: 0.5515 MB / 418 MB, free: 36.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.2498, allocations: 0.7741 MB / 418.8 MB, free: 35.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.2499, allocations: 212.9 kB / 419 MB, free: 35.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.2502, allocations: 137.1 kB / 419.2 MB, free: 35.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.2531, allocations: 1.72 MB / 420.9 MB, free: 35.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.2531, allocations: 1.25 kB / 420.9 MB, free: 35.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.2533, allocations: 55.47 kB / 420.9 MB, free: 35.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.2533, allocations: 36.16 kB / 421 MB, free: 35.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.2567, allocations: 2.174 MB / 423.1 MB, free: 35.63 MB / 330.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.008461/0.2651, allocations: 4.465 MB / 427.6 MB, free: 34.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.2695, allocations: 2.704 MB / 430.3 MB, free: 33.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.2706, allocations: 0.7362 MB / 431.1 MB, free: 32.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00789/0.2785, allocations: 3.899 MB / 435 MB, free: 31.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2785, allocations: 43.53 kB / 435 MB, free: 31.36 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007042/0.2792, allocations: 148.4 kB / 435.1 MB, free: 31.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 3.186e-06/0.2792, allocations: 0 / 435.1 MB, free: 31.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.01729/0.2965, allocations: 4.317 MB / 439.5 MB, free: 28.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.2966, allocations: 64.41 kB / 439.5 MB, free: 28.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.2972, allocations: 0.7036 MB / 440.2 MB, free: 27.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.2974, allocations: 45.7 kB / 440.3 MB, free: 27.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.2976, allocations: 0.6656 MB / 440.9 MB, free: 26.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.2978, allocations: 427.2 kB / 441.3 MB, free: 26.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.2982, allocations: 295.4 kB / 441.6 MB, free: 26.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.2983, allocations: 345.9 kB / 442 MB, free: 25.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/0.299, allocations: 479.8 kB / 442.4 MB, free: 25.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/0.2998, allocations: 0.9898 MB / 443.4 MB, free: 24.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.3016, allocations: 1.575 MB / 445 MB, free: 22.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.3016, allocations: 8 kB / 445 MB, free: 22.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00527/0.3068, allocations: 2.05 MB / 447.1 MB, free: 20.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.3069, allocations: 18.59 kB / 447.1 MB, free: 20.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.3069, allocations: 16 kB / 447.1 MB, free: 20.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/0.3108, allocations: 0.5608 MB / 447.7 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.312, allocations: 378.3 kB / 448 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/0.3167, allocations: 3.609 MB / 451.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.318, allocations: 48 kB / 451.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.3182, allocations: 89.77 kB / 451.8 MB, free: 15.7 MB / 330.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.000546/0.3187, allocations: 321.5 kB / 452.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.319, allocations: 146 kB / 452.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.3242, allocations: 1.786 MB / 454 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.3242, allocations: 12 kB / 454 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3242, allocations: 0 / 454 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.3242, allocations: 7.969 kB / 454 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.3256, allocations: 1.022 MB / 455.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3257, allocations: 0 / 455.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000861/0.3265, allocations: 230.4 kB / 455.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003783/0.3303, allocations: 0.5425 MB / 455.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.3304, allocations: 39.97 kB / 455.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00417/0.3346, allocations: 3.503 MB / 459.4 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3346, allocations: 4.031 kB / 459.4 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/0.3403, allocations: 2.376 MB / 461.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/0.3409, allocations: 215.2 kB / 462 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.341, allocations: 23.94 kB / 462 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.3417, allocations: 30.67 kB / 462 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.3419, allocations: 112.8 kB / 462.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/0.342, allocations: 51.97 kB / 462.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004273/0.3424, allocations: 439 kB / 462.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3424, allocations: 0 / 462.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002357/0.3448, allocations: 0.8415 MB / 463.4 MB, free: 3.934 MB / 330.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.001627/0.3464, allocations: 0.9942 MB / 464.4 MB, free: 3.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.3488, allocations: 1.515 MB / 466 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3488, allocations: 0 / 466 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.35, allocations: 0.8582 MB / 466.8 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.3513, allocations: 274.5 kB / 467.1 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.3559, allocations: 2.354 MB / 469.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.3566, allocations: 0.5404 MB / 470 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001123/0.3577, allocations: 294.6 kB / 470.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.3582, allocations: 183 kB / 470.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3582, allocations: 0 / 470.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of Templates: time 0.05212/0.4103, allocations: 28.8 MB / 499.2 MB, free: 1.414 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.sim & ./Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.920945355086587]