Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.EnzymeKinetics.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") translateModel(Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1364/0.1364, allocations: 15.27 MB / 30.53 MB, free: 3.078 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 186.2 kB / 35.62 MB, free: 2.238 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.7 MB / 266.3 MB, free: 6.082 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008841/0.0008841, allocations: 86.5 kB / 321.7 MB, free: 2.211 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 7.469 kB / 387 MB, free: 50.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.11, allocations: 54.64 MB / 441.7 MB, free: 14.89 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65: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.Examples.EnzymeKinetics): time 0.02872/0.1387, allocations: 22.92 MB / 464.6 MB, free: 7.902 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02712/0.1659, allocations: 24.19 MB / 488.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.1677, allocations: 23.81 kB / 488.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.1693, allocations: 381.8 kB / 489.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005513/0.1748, allocations: 1.374 MB / 490.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00729/0.1821, allocations: 2.188 MB / 492.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003152/0.1853, allocations: 1.911 MB / 494.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.187, allocations: 0.9293 MB / 495.6 MB, free: 7.336 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.1887, allocations: 0.8491 MB / 496.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.1908, allocations: 1.036 MB / 497.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006265/0.1914, allocations: 92 kB / 497.5 MB, free: 5.355 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008974/0.2004, allocations: 1.965 MB / 499.5 MB, free: 3.387 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008784/0.2013, allocations: 342.8 kB / 499.8 MB, free: 3.051 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.203, allocations: 0.7948 MB / 0.4889 GB, free: 2.246 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009422/0.2124, allocations: 3.744 MB / 0.4926 GB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2124, allocations: 0 / 0.4926 GB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.2125, allocations: 4 kB / 0.4926 GB, free: 14.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.135e-05/0.2125, allocations: 0 / 0.4926 GB, free: 14.48 MB / 378.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.00455/0.2171, allocations: 1.829 MB / 0.4943 GB, free: 12.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.2172, allocations: 13.7 kB / 0.4944 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.2189, allocations: 330.7 kB / 0.4947 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.2205, allocations: 0.7601 MB / 0.4954 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.2208, allocations: 158.6 kB / 0.4956 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004418/0.2212, allocations: 140.3 kB / 0.4957 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.225, allocations: 1.697 MB / 0.4974 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.225, allocations: 0 / 0.4974 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.2252, allocations: 56 kB / 0.4974 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.2253, allocations: 36 kB / 0.4974 GB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/0.2291, allocations: 2.177 MB / 0.4996 GB, free: 7.148 MB / 378.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.009373/0.2385, allocations: 5.445 MB / 0.5049 GB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2199/0.4584, allocations: 3.216 MB / 0.508 GB, free: 67.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.4598, allocations: 0.8113 MB / 0.5088 GB, free: 67.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008393/0.4682, allocations: 6.854 MB / 0.5155 GB, free: 63.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.4682, allocations: 44.3 kB / 0.5156 GB, free: 63.46 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005395/0.4688, allocations: 127.4 kB / 0.5157 GB, free: 63.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 3.888e-06/0.4688, allocations: 2.781 kB / 0.5157 GB, free: 63.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=116): time 0.01837/0.4872, allocations: 4.52 MB / 0.5201 GB, free: 62.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.4873, allocations: 63.53 kB / 0.5202 GB, free: 62.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.4886, allocations: 0.7242 MB / 0.5209 GB, free: 62.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.4889, allocations: 44.98 kB / 0.5209 GB, free: 62.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.4894, allocations: 0.643 MB / 0.5215 GB, free: 62.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.4898, allocations: 408.6 kB / 0.5219 GB, free: 61.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.4898, allocations: 33.22 kB / 0.522 GB, free: 61.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.49, allocations: 415.7 kB / 0.5224 GB, free: 61.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/0.491, allocations: 476.1 kB / 0.5228 GB, free: 61.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.4921, allocations: 0.9776 MB / 0.5238 GB, free: 60.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.4947, allocations: 1.571 MB / 0.5253 GB, free: 60.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.4947, allocations: 4.406 kB / 0.5253 GB, free: 60.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00622/0.5009, allocations: 1.992 MB / 0.5272 GB, free: 59.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.501, allocations: 11.25 kB / 0.5273 GB, free: 59.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.501, allocations: 16.53 kB / 0.5273 GB, free: 59.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/0.5039, allocations: 452.9 kB / 0.5277 GB, free: 59.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.5053, allocations: 372 kB / 0.5281 GB, free: 59.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/0.5103, allocations: 3.522 MB / 0.5315 GB, free: 56.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.5117, allocations: 95.78 kB / 0.5316 GB, free: 56.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.5119, allocations: 89.92 kB / 0.5317 GB, free: 56.51 MB / 378.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.0005527/0.5124, allocations: 316.5 kB / 0.532 GB, free: 56.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.5126, allocations: 103.8 kB / 0.5321 GB, free: 56.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005958/0.5186, allocations: 1.821 MB / 0.5339 GB, free: 55.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.5186, allocations: 11.81 kB / 0.5339 GB, free: 55.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5186, allocations: 1.125 kB / 0.5339 GB, free: 55.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.5187, allocations: 7.734 kB / 0.5339 GB, free: 55.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.5205, allocations: 1.34 MB / 0.5352 GB, free: 54.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5205, allocations: 3.875 kB / 0.5352 GB, free: 54.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008641/0.5213, allocations: 228.4 kB / 0.5354 GB, free: 54.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.524, allocations: 441.4 kB / 0.5358 GB, free: 54.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.5241, allocations: 43.62 kB / 0.5359 GB, free: 54.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004178/0.5283, allocations: 3.429 MB / 0.5392 GB, free: 51.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5283, allocations: 3.906 kB / 0.5392 GB, free: 51.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.5346, allocations: 2.347 MB / 0.5415 GB, free: 50.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/0.5352, allocations: 279 kB / 0.5418 GB, free: 49.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.5353, allocations: 26.38 kB / 0.5418 GB, free: 49.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006212/0.536, allocations: 44.92 kB / 0.5418 GB, free: 49.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.5363, allocations: 123.9 kB / 0.542 GB, free: 49.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/0.5363, allocations: 50.34 kB / 0.542 GB, free: 49.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004903/0.5368, allocations: 470.5 kB / 0.5425 GB, free: 49.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5368, allocations: 0 / 0.5425 GB, free: 49.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002379/0.5392, allocations: 0.8008 MB / 0.5432 GB, free: 49.36 MB / 378.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.001263/0.5405, allocations: 0.9007 MB / 0.5441 GB, free: 49.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002512/0.543, allocations: 1.658 MB / 0.5457 GB, free: 48.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.543, allocations: 2.656 kB / 0.5457 GB, free: 48.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.5442, allocations: 0.9897 MB / 0.5467 GB, free: 47.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.5453, allocations: 219.5 kB / 0.5469 GB, free: 46.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.5488, allocations: 3.064 MB / 0.5499 GB, free: 43.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.5492, allocations: 1.121 MB / 0.551 GB, free: 42.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001181/0.5504, allocations: 301.7 kB / 0.5513 GB, free: 42.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.5507, allocations: 187.3 kB / 0.5515 GB, free: 42.41 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5507, allocations: 3.938 kB / 0.5515 GB, free: 42.41 MB / 378.7 MB Notification: Performance of Templates: time 0.0315/0.5822, allocations: 26.91 MB / 0.5778 GB, free: 16.14 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.EnzymeKinetics.makefile (rm -f Chemical_Chemical.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Examples.EnzymeKinetics.sim & ./Chemical_Chemical.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1)