Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001762/0.001762, 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.002167/0.002167, 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.542/1.542, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1432/0.1432, allocations: 17.38 MB / 276.9 MB, free: 11.68 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.EnzymeKinetics") translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.EnzymeKinetics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 352.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.033e-05/4.328e-05, allocations: 6.25 kB / 352.7 MB, free: 10.35 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.04352/0.04356, allocations: 27.52 MB / 380.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02775/0.07131, allocations: 17.16 MB / 397.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009697/0.07228, allocations: 31.75 kB / 397.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.07358, allocations: 381 kB / 397.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.07921, allocations: 1.722 MB / 399.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007183/0.0864, allocations: 2.609 MB / 402.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003185/0.08958, allocations: 2.043 MB / 404.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.0912, allocations: 0.9593 MB / 405.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.09346, allocations: 1.377 MB / 406.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.09508, allocations: 0.9276 MB / 407.4 MB, free: 3.629 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000316/0.0954, allocations: 172 kB / 407.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00579/0.1012, allocations: 2.074 MB / 409.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005325/0.1017, allocations: 438.7 kB / 410.1 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.1028, allocations: 0.6354 MB / 410.7 MB, free: 324 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1374/0.2402, allocations: 4.508 MB / 415.2 MB, free: 37.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2402, allocations: 1.375 kB / 415.2 MB, free: 37.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2402, allocations: 0 / 415.2 MB, free: 37.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.2403, allocations: 0 / 415.2 MB, free: 37.4 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.004581/0.2449, allocations: 2.141 MB / 417.4 MB, free: 36.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2449, allocations: 9.906 kB / 417.4 MB, free: 36.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.2467, allocations: 0.5551 MB / 417.9 MB, free: 36.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.248, allocations: 0.7756 MB / 418.7 MB, free: 35.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.2482, allocations: 213.5 kB / 418.9 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.2484, allocations: 137.9 kB / 419.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.2511, allocations: 1.716 MB / 420.8 MB, free: 35.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.2512, allocations: 6.219 kB / 420.8 MB, free: 35.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.2513, allocations: 58.16 kB / 420.8 MB, free: 35.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.2514, allocations: 36.75 kB / 420.9 MB, free: 35.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/0.2545, allocations: 2.169 MB / 423 MB, free: 35.69 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.007629/0.2622, allocations: 4.452 MB / 427.5 MB, free: 34.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004452/0.2666, allocations: 2.706 MB / 430.2 MB, free: 33.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.2677, allocations: 0.7338 MB / 430.9 MB, free: 33.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007931/0.2756, allocations: 3.915 MB / 434.8 MB, free: 31.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.2756, allocations: 43.41 kB / 434.9 MB, free: 31.49 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00073/0.2764, allocations: 145.8 kB / 435 MB, free: 31.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 2.956e-06/0.2764, allocations: 0 / 435 MB, free: 31.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.01694/0.2933, allocations: 4.319 MB / 439.3 MB, free: 28.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.2933, allocations: 64.41 kB / 439.4 MB, free: 28.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.294, allocations: 0.7114 MB / 440.1 MB, free: 27.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.2941, allocations: 48.36 kB / 440.2 MB, free: 27.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.2943, allocations: 0.6584 MB / 440.8 MB, free: 27.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.2946, allocations: 424.9 kB / 441.2 MB, free: 26.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.2949, allocations: 295.4 kB / 441.5 MB, free: 26.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.295, allocations: 349.9 kB / 441.9 MB, free: 26.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.2957, allocations: 479.8 kB / 442.3 MB, free: 25.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.2966, allocations: 0.9855 MB / 443.3 MB, free: 24.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.2982, allocations: 1.575 MB / 444.9 MB, free: 22.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.2982, allocations: 4 kB / 444.9 MB, free: 22.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005316/0.3036, allocations: 2.052 MB / 447 MB, free: 20.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.3036, allocations: 19.92 kB / 447 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.3036, allocations: 16 kB / 447 MB, free: 20.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/0.3075, allocations: 0.5589 MB / 447.5 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.3087, allocations: 375.4 kB / 447.9 MB, free: 19.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004722/0.3134, allocations: 3.603 MB / 451.5 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3145, allocations: 48 kB / 451.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.3146, allocations: 90.83 kB / 451.7 MB, free: 15.88 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.0004942/0.3151, allocations: 324.8 kB / 452 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.3153, allocations: 143.3 kB / 452.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/0.3207, allocations: 1.789 MB / 453.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.3207, allocations: 12 kB / 453.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3207, allocations: 5.469 kB / 453.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.3207, allocations: 7.969 kB / 453.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.322, allocations: 1.01 MB / 454.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.322, allocations: 4 kB / 454.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008451/0.3228, allocations: 231.2 kB / 455.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/0.3266, allocations: 0.5413 MB / 455.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.452e-05/0.3267, allocations: 43.97 kB / 455.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004142/0.3309, allocations: 3.506 MB / 459.3 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3309, allocations: 0 / 459.3 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/0.3366, allocations: 2.374 MB / 461.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.3371, allocations: 211.2 kB / 461.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.3372, allocations: 27.94 kB / 461.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.3379, allocations: 27.98 kB / 461.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.3382, allocations: 112.6 kB / 462 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/0.3383, allocations: 51.97 kB / 462.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004425/0.3387, allocations: 447 kB / 462.5 MB, free: 4.953 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3387, allocations: 2.625 kB / 462.5 MB, free: 4.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002411/0.3411, allocations: 0.8376 MB / 463.3 MB, free: 4.113 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.002219/0.3434, allocations: 0.9918 MB / 464.3 MB, free: 3.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.3457, allocations: 1.507 MB / 465.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3457, allocations: 0 / 465.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3469, allocations: 0.8586 MB / 466.7 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.348, allocations: 271.8 kB / 467 MB, free: 0.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.3524, allocations: 2.365 MB / 469.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/0.3531, allocations: 0.5359 MB / 469.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.3542, allocations: 293.2 kB / 470.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.3546, allocations: 187.1 kB / 470.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3546, allocations: 0 / 470.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of Templates: time 0.05183/0.4065, allocations: 28.8 MB / 499.1 MB, free: 1.594 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.sim & ./Chemical_Chemical.Obsolete.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.083670362015255]