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.00122/0.00122, allocations: 93.06 kB / 19.65 MB, free: 280 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.00125/0.00125, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9555/0.9555, allocations: 177.1 MB / 203.4 MB, free: 5.188 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.1128/0.1128, allocations: 17.37 MB / 277.3 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 2.966e-06/2.966e-06, allocations: 0 / 353.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.467e-05, allocations: 6.25 kB / 353.4 MB, free: 9.973 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.0288/0.02884, allocations: 30.6 MB / 384 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.04494, allocations: 19.68 MB / 403.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008136/0.04575, allocations: 23.81 kB / 403.7 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.04653, allocations: 388.9 kB / 404.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.04946, allocations: 1.722 MB / 405.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.05386, allocations: 2.617 MB / 408.5 MB, free: 2.969 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.05553, allocations: 2.039 MB / 410.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1358/0.1914, allocations: 0.9467 MB / 411.4 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.1935, allocations: 1.385 MB / 412.8 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.1954, allocations: 0.9437 MB / 413.8 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005783/0.1959, allocations: 174.6 kB / 413.9 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004698/0.2006, allocations: 2.069 MB / 416 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.201, allocations: 443.1 kB / 416.4 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008539/0.2018, allocations: 0.641 MB / 417.1 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005362/0.2072, allocations: 3.895 MB / 421 MB, free: 35.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2072, allocations: 0 / 421 MB, free: 35.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2072, allocations: 0 / 421 MB, free: 35.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.401e-05/0.2073, allocations: 0 / 421 MB, free: 35.72 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.002982/0.2102, allocations: 2.261 MB / 423.2 MB, free: 34.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2103, allocations: 15.97 kB / 423.3 MB, free: 34.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.2113, allocations: 0.5491 MB / 423.8 MB, free: 34.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008102/0.2121, allocations: 0.7673 MB / 424.6 MB, free: 34.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.2122, allocations: 207.7 kB / 424.8 MB, free: 34.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.2124, allocations: 142.1 kB / 424.9 MB, free: 34.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.2138, allocations: 1.367 MB / 426.3 MB, free: 33.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.2138, allocations: 2.875 kB / 426.3 MB, free: 33.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-05/0.2139, allocations: 51.16 kB / 426.3 MB, free: 33.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.2139, allocations: 36.56 kB / 426.4 MB, free: 33.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.2155, allocations: 1.437 MB / 427.8 MB, free: 33.84 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.004291/0.2197, allocations: 4.214 MB / 432 MB, free: 32.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.2225, allocations: 3.038 MB / 435.1 MB, free: 31.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.2229, allocations: 497.3 kB / 435.5 MB, free: 31.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003919/0.2269, allocations: 3.59 MB / 439.1 MB, free: 28.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.2269, allocations: 48.95 kB / 439.2 MB, free: 28.36 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002592/0.2271, allocations: 141.1 kB / 439.3 MB, free: 28.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 2.565e-06/0.2271, allocations: 0 / 439.3 MB, free: 28.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.007283/0.2344, allocations: 3.527 MB / 442.8 MB, free: 24.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2344, allocations: 67.09 kB / 442.9 MB, free: 24.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.2349, allocations: 0.7404 MB / 443.6 MB, free: 23.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.2349, allocations: 45.7 kB / 443.7 MB, free: 23.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.2351, allocations: 0.717 MB / 444.4 MB, free: 23.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.2353, allocations: 417.8 kB / 444.8 MB, free: 22.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.2355, allocations: 305.1 kB / 445.1 MB, free: 22.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.2356, allocations: 0.5277 MB / 445.6 MB, free: 21.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.2359, allocations: 286.4 kB / 445.9 MB, free: 21.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.2364, allocations: 1.006 MB / 446.9 MB, free: 20.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.2375, allocations: 1.422 MB / 448.3 MB, free: 18.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.2375, allocations: 4 kB / 448.4 MB, free: 18.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002366/0.2398, allocations: 1.614 MB / 450 MB, free: 17.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2398, allocations: 18.59 kB / 450 MB, free: 17.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.2399, allocations: 20 kB / 450 MB, free: 17.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.2414, allocations: 462 kB / 450.5 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.242, allocations: 379 kB / 450.8 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.2444, allocations: 4.369 MB / 455.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.2448, allocations: 65.23 kB / 455.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.2449, allocations: 83.98 kB / 455.3 MB, free: 11.61 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.0002308/0.2451, allocations: 261.1 kB / 455.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.2453, allocations: 147.3 kB / 455.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.2475, allocations: 1.41 MB / 457.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2475, allocations: 12 kB / 457.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2475, allocations: 0 / 457.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2475, allocations: 3.984 kB / 457.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/0.2483, allocations: 0.9185 MB / 458.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2483, allocations: 0 / 458.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.2488, allocations: 229.8 kB / 458.3 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.2502, allocations: 449.5 kB / 458.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/0.2503, allocations: 43.97 kB / 458.8 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.2522, allocations: 4.28 MB / 463.1 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2522, allocations: 0 / 463.1 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.2547, allocations: 1.725 MB / 464.8 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.2549, allocations: 211.1 kB / 465 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.255, allocations: 26.62 kB / 465 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.2552, allocations: 27.98 kB / 465.1 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.2554, allocations: 112.8 kB / 465.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.2555, allocations: 51.97 kB / 465.2 MB, free: 1.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002588/0.2557, allocations: 430.9 kB / 465.6 MB, free: 1.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2557, allocations: 0 / 465.6 MB, free: 1.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001793/0.2575, allocations: 0.8376 MB / 466.5 MB, free: 308 kB / 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.001305/0.2588, allocations: 0.9772 MB / 467.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.2604, allocations: 1.341 MB / 468.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2604, allocations: 0 / 468.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000747/0.2612, allocations: 0.8558 MB / 469.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.2619, allocations: 277 kB / 469.9 MB, free: 13.05 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.265, allocations: 2.214 MB / 472.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2652, allocations: 241 kB / 472.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005971/0.2658, allocations: 281.4 kB / 472.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.2661, allocations: 183 kB / 472.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2661, allocations: 3.375 kB / 472.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of Templates: time 0.03157/0.2977, allocations: 32.39 MB / 0.4934 GB, free: 10.98 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: 3.9297679206356406]