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.0009667/0.0009667, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.002057, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007312/0.0007312, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009667/0.001698, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9584/0.9584, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08522/1.044, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08591/0.08591, allocations: 17.45 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009876/0.09578, allocations: 6.964 MB / 268.4 MB, free: 6.391 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.603e-06/1.603e-06, allocations: 0 / 269.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.551e-05, allocations: 5.688 kB / 269.6 MB, free: 5.121 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1346/0.1347, allocations: 6.954 MB / 276.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.1508, allocations: 19.56 MB / 296.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007486/0.1516, allocations: 22.19 kB / 296.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007694/0.1524, allocations: 397.2 kB / 296.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003449/0.1558, allocations: 1.695 MB / 298.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00588/0.1617, allocations: 2.588 MB / 300.9 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.1638, allocations: 2.028 MB / 302.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.1651, allocations: 0.9784 MB / 303.9 MB, free: 260 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.1665, allocations: 1.454 MB / 305.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.1684, allocations: 0.9316 MB / 306.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005041/0.1689, allocations: 172 kB / 306.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007363/0.1763, allocations: 2.175 MB / 308.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005735/0.1769, allocations: 295.2 kB / 308.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.1782, allocations: 499.1 kB / 309.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.189, allocations: 3.545 MB / 312.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.971e-05/0.1891, allocations: 0 / 312.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1891, allocations: 0 / 312.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.1891, allocations: 0 / 312.9 MB, free: 7.18 MB / 298.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.003033/0.1921, allocations: 2.696 MB / 315.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1922, allocations: 12.03 kB / 315.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.1931, allocations: 0.5857 MB / 316.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.1939, allocations: 0.602 MB / 316.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.194, allocations: 214 kB / 317 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.1942, allocations: 140.3 kB / 317.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1953, allocations: 1.256 MB / 318.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.1954, allocations: 192 / 318.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.1954, allocations: 56.12 kB / 318.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.1955, allocations: 32 kB / 318.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.1966, allocations: 1.074 MB / 319.6 MB, free: 360 kB / 298.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.004892/0.2015, allocations: 3.27 MB / 322.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.2042, allocations: 2.863 MB / 325.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.2046, allocations: 360.5 kB / 326.1 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004203/0.2088, allocations: 3.075 MB / 329.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.2088, allocations: 43.56 kB / 329.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003076/0.2091, allocations: 143.1 kB / 329.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 3.146e-06/0.2091, allocations: 0 / 329.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.007198/0.2163, allocations: 3.089 MB / 332.4 MB, free: 3.367 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2164, allocations: 68.34 kB / 332.5 MB, free: 3.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.2168, allocations: 0.6515 MB / 333.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.2168, allocations: 45.7 kB / 333.2 MB, free: 2.574 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.2171, allocations: 0.5946 MB / 333.8 MB, free: 1.973 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.2173, allocations: 432.3 kB / 334.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.2175, allocations: 291.3 kB / 334.5 MB, free: 1.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.2176, allocations: 353.8 kB / 334.8 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.2179, allocations: 203.5 kB / 335 MB, free: 0.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.2183, allocations: 0.7106 MB / 335.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.2194, allocations: 1.08 MB / 336.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2194, allocations: 7.938 kB / 336.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.001934/0.2213, allocations: 1.183 MB / 338 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2214, allocations: 12.97 kB / 338 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.2214, allocations: 20 kB / 338 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.2228, allocations: 444.8 kB / 338.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.2235, allocations: 459.3 kB / 338.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.226, allocations: 3.004 MB / 341.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.2266, allocations: 51.98 kB / 342 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.2267, allocations: 76 kB / 342 MB, free: 9.031 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.00029/0.2269, allocations: 212.2 kB / 342.2 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.2271, allocations: 95.86 kB / 342.3 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.2291, allocations: 1.108 MB / 343.4 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2291, allocations: 12 kB / 343.5 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2291, allocations: 3.938 kB / 343.5 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.2291, allocations: 11.97 kB / 343.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.2303, allocations: 0.8247 MB / 344.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2303, allocations: 0 / 344.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.2308, allocations: 287.7 kB / 344.6 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.231, allocations: 139.2 kB / 344.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.2323, allocations: 434.1 kB / 345.1 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.2324, allocations: 39.97 kB / 345.2 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.2344, allocations: 2.917 MB / 348.1 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2344, allocations: 0 / 348.1 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.2363, allocations: 1.297 MB / 349.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2364, allocations: 31.98 kB / 349.4 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.2367, allocations: 24 kB / 349.4 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.2368, allocations: 108.7 kB / 349.6 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.2369, allocations: 43.97 kB / 349.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001942/0.2371, allocations: 276.5 kB / 349.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2371, allocations: 0 / 349.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001816/0.2389, allocations: 0.8415 MB / 350.7 MB, free: 84 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.001589/0.2405, allocations: 1.029 MB / 351.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.2421, allocations: 1.044 MB / 352.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.192e-05/0.2422, allocations: 25.8 kB / 352.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008144/0.243, allocations: 0.6445 MB / 353.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.244, allocations: 387.4 kB / 353.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008918/0.253, allocations: 2.204 MB / 356 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.2531, allocations: 242.5 kB / 356.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000719/0.2539, allocations: 272.1 kB / 356.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.2544, allocations: 386.5 kB / 356.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of SimCode: time 1.512e-06/0.2544, allocations: 0 / 356.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of Templates: time 0.03417/0.2886, allocations: 33.38 MB / 390.3 MB, free: 8.562 MB / 378.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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.546561394818127]