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.001831/0.001831, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.002036/0.002036, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9982/0.9982, allocations: 177.1 MB / 204.5 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] 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.1143/0.1143, allocations: 17.38 MB / 278.4 MB, free: 11.52 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 1.222e-06/1.222e-06, allocations: 0 / 354.7 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.511e-05, allocations: 9.344 kB / 354.7 MB, free: 9.719 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.03479/0.03482, allocations: 30.52 MB / 385.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01972/0.05454, allocations: 19.12 MB / 404.3 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009728/0.05551, allocations: 27.81 kB / 404.3 MB, free: 8.102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.05653, allocations: 388.8 kB / 404.7 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.06079, allocations: 1.725 MB / 406.4 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006384/0.06717, allocations: 2.617 MB / 409.1 MB, free: 3.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002485/0.06966, allocations: 2.043 MB / 411.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.07091, allocations: 0.9554 MB / 412.1 MB, free: 324 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1397/0.2106, allocations: 1.375 MB / 413.4 MB, free: 36.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.2124, allocations: 0.9409 MB / 414.4 MB, free: 36.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004911/0.2128, allocations: 176.8 kB / 414.5 MB, free: 36.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005128/0.218, allocations: 2.066 MB / 416.6 MB, free: 36.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.2184, allocations: 440.8 kB / 417 MB, free: 36.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.2197, allocations: 0.6384 MB / 417.7 MB, free: 36.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008425/0.2281, allocations: 3.903 MB / 421.6 MB, free: 36.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2281, allocations: 0 / 421.6 MB, free: 36.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2281, allocations: 2.344 kB / 421.6 MB, free: 36.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.088e-05/0.2282, allocations: 0 / 421.6 MB, free: 36.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.004278/0.2324, allocations: 2.264 MB / 423.8 MB, free: 35.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2325, allocations: 8.938 kB / 423.9 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.234, allocations: 0.5542 MB / 424.4 MB, free: 35.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.2351, allocations: 0.7647 MB / 425.2 MB, free: 34.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.2352, allocations: 209.3 kB / 425.4 MB, free: 34.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.2355, allocations: 139.6 kB / 425.5 MB, free: 34.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.2371, allocations: 1.238 MB / 426.8 MB, free: 34.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.2371, allocations: 4.031 kB / 426.8 MB, free: 34.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.2372, allocations: 50.88 kB / 426.8 MB, free: 34.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.2373, allocations: 35 kB / 426.8 MB, free: 34.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.2389, allocations: 1.222 MB / 428.1 MB, free: 34.5 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.00585/0.2448, allocations: 4.083 MB / 432.1 MB, free: 33.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/0.2485, allocations: 2.94 MB / 435.1 MB, free: 32.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.2491, allocations: 424.5 kB / 435.5 MB, free: 32.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004936/0.254, allocations: 3.568 MB / 439.1 MB, free: 29.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.254, allocations: 49.86 kB / 439.1 MB, free: 29.7 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003664/0.2544, allocations: 136.6 kB / 439.2 MB, free: 29.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 2.735e-06/0.2544, allocations: 0 / 439.2 MB, free: 29.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.007157/0.2616, allocations: 3.099 MB / 442.3 MB, free: 26.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.2616, allocations: 68.34 kB / 442.4 MB, free: 26.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.2621, allocations: 0.728 MB / 443.1 MB, free: 25.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.2621, allocations: 48.39 kB / 443.2 MB, free: 25.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.2623, allocations: 0.7224 MB / 443.9 MB, free: 25.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.2625, allocations: 427 kB / 444.3 MB, free: 24.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.2627, allocations: 307.6 kB / 444.6 MB, free: 24.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.2628, allocations: 0.5252 MB / 445.2 MB, free: 23.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.263, allocations: 227.1 kB / 445.4 MB, free: 23.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.2634, allocations: 0.9582 MB / 446.3 MB, free: 22.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.2642, allocations: 1.316 MB / 447.7 MB, free: 20.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.2643, allocations: 4 kB / 447.7 MB, free: 20.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002175/0.2664, allocations: 1.466 MB / 449.1 MB, free: 19.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.2665, allocations: 15.98 kB / 449.1 MB, free: 19.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.2665, allocations: 20 kB / 449.2 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.268, allocations: 461.1 kB / 449.6 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.2686, allocations: 376.4 kB / 450 MB, free: 18.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.2709, allocations: 4.321 MB / 454.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.2716, allocations: 51.98 kB / 454.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/0.2717, allocations: 75.97 kB / 454.4 MB, free: 14.16 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.0003479/0.272, allocations: 261.9 kB / 454.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.2722, allocations: 151.2 kB / 454.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.2745, allocations: 1.299 MB / 456.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.2745, allocations: 14.69 kB / 456.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2745, allocations: 0 / 456.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.2745, allocations: 10.69 kB / 456.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00099/0.2755, allocations: 0.927 MB / 457.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2755, allocations: 7.938 kB / 457.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.276, allocations: 225.1 kB / 457.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.2775, allocations: 443.7 kB / 457.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/0.2776, allocations: 43.92 kB / 457.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.2796, allocations: 4.224 MB / 462 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2796, allocations: 4 kB / 462 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.2819, allocations: 1.556 MB / 463.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.2822, allocations: 203.1 kB / 463.8 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.2823, allocations: 28 kB / 463.8 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.2826, allocations: 24 kB / 463.8 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.2827, allocations: 116.5 kB / 463.9 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.2828, allocations: 49.25 kB / 464 MB, free: 4.621 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002084/0.283, allocations: 407.4 kB / 464.4 MB, free: 4.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.283, allocations: 0 / 464.4 MB, free: 4.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001985/0.285, allocations: 0.8376 MB / 465.2 MB, free: 3.426 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.00134/0.2863, allocations: 1.02 MB / 466.2 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.2876, allocations: 1.235 MB / 467.5 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2876, allocations: 6.562 kB / 467.5 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.2881, allocations: 0.7959 MB / 468.3 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007347/0.2889, allocations: 265.3 kB / 468.5 MB, free: 328 kB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.292, allocations: 2.183 MB / 470.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.2925, allocations: 238.4 kB / 470.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006464/0.2931, allocations: 277.3 kB / 471.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.2937, allocations: 417.9 kB / 471.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2937, allocations: 2.688 kB / 471.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of Templates: time 0.03593/0.3296, allocations: 33.33 MB / 0.4931 GB, free: 13.15 MB / 378.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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.138299534097314]