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.0009751/0.0009751, allocations: 93.06 kB / 19.65 MB, free: 276 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.000981/0.000981, allocations: 165 kB / 23.02 MB, free: 1.547 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.9962/0.9962, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.09867/0.09867, allocations: 17.38 MB / 277.3 MB, free: 11.66 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.463e-06/1.463e-06, allocations: 0 / 353.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.763e-05, allocations: 8.641 kB / 353.4 MB, free: 9.984 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.02245/0.02246, allocations: 30.59 MB / 384 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.03834, allocations: 19.69 MB / 403.7 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.03907, allocations: 23.81 kB / 403.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000811/0.03988, allocations: 388.8 kB / 404.1 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.04256, allocations: 1.726 MB / 405.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004291/0.04685, allocations: 2.613 MB / 408.4 MB, free: 2.988 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.04819, allocations: 2.043 MB / 410.5 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1389/0.1871, allocations: 0.9496 MB / 411.4 MB, free: 36.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.1894, allocations: 1.377 MB / 412.8 MB, free: 36.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.1914, allocations: 0.9445 MB / 413.8 MB, free: 36.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005982/0.192, allocations: 176.9 kB / 413.9 MB, free: 36.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005653/0.1976, allocations: 2.074 MB / 416 MB, free: 36.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.1981, allocations: 441 kB / 416.4 MB, free: 36.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.1995, allocations: 0.6379 MB / 417.1 MB, free: 36.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009115/0.2086, allocations: 3.896 MB / 421 MB, free: 35.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2086, allocations: 0 / 421 MB, free: 35.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2086, allocations: 3.375 kB / 421 MB, free: 35.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.683e-05/0.2086, allocations: 0 / 421 MB, free: 35.68 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.00345/0.2121, allocations: 2.257 MB / 423.2 MB, free: 34.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2121, allocations: 12.41 kB / 423.2 MB, free: 34.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.2132, allocations: 0.5508 MB / 423.8 MB, free: 34.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/0.2142, allocations: 0.7681 MB / 424.6 MB, free: 34.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.2143, allocations: 216.2 kB / 424.8 MB, free: 34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.2145, allocations: 137.3 kB / 424.9 MB, free: 34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.216, allocations: 1.369 MB / 426.3 MB, free: 33.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.2161, allocations: 2.844 kB / 426.3 MB, free: 33.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/0.2162, allocations: 52.41 kB / 426.3 MB, free: 33.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.2162, allocations: 36.34 kB / 426.4 MB, free: 33.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.2179, allocations: 1.433 MB / 427.8 MB, free: 33.8 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.004826/0.2227, allocations: 4.216 MB / 432 MB, free: 32.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.2257, allocations: 3.039 MB / 435.1 MB, free: 31.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000565/0.2262, allocations: 496.3 kB / 435.5 MB, free: 31.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004491/0.2307, allocations: 3.583 MB / 439.1 MB, free: 28.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2308, allocations: 49.77 kB / 439.2 MB, free: 28.33 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000339/0.2311, allocations: 137.9 kB / 439.3 MB, free: 28.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 2.915e-06/0.2311, allocations: 0 / 439.3 MB, free: 28.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.007581/0.2387, allocations: 3.531 MB / 442.8 MB, free: 24.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2387, allocations: 68.41 kB / 442.9 MB, free: 24.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.2392, allocations: 0.7372 MB / 443.6 MB, free: 23.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.2393, allocations: 45.7 kB / 443.7 MB, free: 23.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.2395, allocations: 0.7154 MB / 444.4 MB, free: 23.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.2396, allocations: 426.3 kB / 444.8 MB, free: 22.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.2399, allocations: 297.1 kB / 445.1 MB, free: 22.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.2399, allocations: 0.5277 MB / 445.6 MB, free: 21.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.2403, allocations: 286.5 kB / 445.9 MB, free: 21.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.2408, allocations: 1.009 MB / 446.9 MB, free: 20.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.2419, allocations: 1.421 MB / 448.3 MB, free: 18.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2419, allocations: 4 kB / 448.3 MB, free: 18.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002548/0.2445, allocations: 1.618 MB / 450 MB, free: 17.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.2445, allocations: 20.78 kB / 450 MB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.2445, allocations: 16 kB / 450 MB, free: 17.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.2462, allocations: 467.2 kB / 450.5 MB, free: 16.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.2468, allocations: 372.1 kB / 450.8 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.2495, allocations: 4.377 MB / 455.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.2502, allocations: 54.61 kB / 455.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/0.2503, allocations: 87.97 kB / 455.3 MB, free: 11.58 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.0003054/0.2506, allocations: 261.3 kB / 455.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.2507, allocations: 143.3 kB / 455.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.2532, allocations: 1.41 MB / 457.1 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.2532, allocations: 15.05 kB / 457.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.2532, allocations: 0 / 457.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2532, allocations: 11.97 kB / 457.2 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.2541, allocations: 0.9177 MB / 458.1 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.2541, allocations: 0 / 458.1 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.2546, allocations: 230.7 kB / 458.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.2561, allocations: 445.3 kB / 458.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.063e-05/0.2562, allocations: 43.98 kB / 458.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.2584, allocations: 4.276 MB / 463.1 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2584, allocations: 3.375 kB / 463.1 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.261, allocations: 1.719 MB / 464.8 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.2613, allocations: 207.2 kB / 465 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.2614, allocations: 27.94 kB / 465 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.2617, allocations: 30.67 kB / 465 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.2618, allocations: 108.8 kB / 465.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.2619, allocations: 59.91 kB / 465.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.2622, allocations: 426.9 kB / 465.6 MB, free: 1.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2622, allocations: 0 / 465.6 MB, free: 1.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001873/0.264, allocations: 0.8415 MB / 466.5 MB, free: 276 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.001531/0.2656, allocations: 0.9851 MB / 467.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.2673, allocations: 1.34 MB / 468.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2673, allocations: 0 / 468.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007982/0.2681, allocations: 0.8484 MB / 469.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.2688, allocations: 278.7 kB / 469.9 MB, free: 13.01 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.003179/0.272, allocations: 2.209 MB / 472.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.2722, allocations: 241 kB / 472.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005968/0.2728, allocations: 289.9 kB / 472.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.2731, allocations: 186.6 kB / 472.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2731, allocations: 0 / 472.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of Templates: time 0.03059/0.3037, allocations: 29.05 MB / 0.4901 GB, free: 14.28 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.9528596941381693]