Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.EnzymeKinetics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1727/0.1727, allocations: 15.31 MB / 305.7 MB, free: 15.3 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.89 kB / 370.4 MB, free: 3.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08816, allocations: 53.6 MB / 424 MB, free: 14.22 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.EnzymeKinetics): time 0.2949/0.3831, allocations: 26.43 MB / 450.5 MB, free: 39.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.3973, allocations: 19.45 MB / 469.9 MB, free: 29.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000737/0.3981, allocations: 18.06 kB / 469.9 MB, free: 29.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008842/0.399, allocations: 421 kB / 470.3 MB, free: 29.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003357/0.4024, allocations: 1.638 MB / 472 MB, free: 28.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005419/0.4078, allocations: 2.485 MB / 474.5 MB, free: 26.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.4098, allocations: 1.964 MB / 476.4 MB, free: 25.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.4108, allocations: 1.116 MB / 477.5 MB, free: 25.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008615/0.4117, allocations: 0.9945 MB / 478.5 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.4129, allocations: 1.11 MB / 479.7 MB, free: 24.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.4131, allocations: 171.8 kB / 479.8 MB, free: 24.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006084/0.4192, allocations: 2.159 MB / 482 MB, free: 24.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.4196, allocations: 425.6 kB / 482.4 MB, free: 23.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007387/0.4203, allocations: 0.8602 MB / 483.3 MB, free: 23.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00707/0.4274, allocations: 4.084 MB / 487.3 MB, free: 21.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4274, allocations: 1.438 kB / 487.3 MB, free: 21.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4274, allocations: 0 / 487.3 MB, free: 21.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.4275, allocations: 4 kB / 487.3 MB, free: 21.56 MB / 366.1 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.004153/0.4316, allocations: 2.199 MB / 489.5 MB, free: 20.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4317, allocations: 9.531 kB / 489.6 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.4319, allocations: 197.6 kB / 489.7 MB, free: 20.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.4332, allocations: 331.9 kB / 490.1 MB, free: 20.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.4343, allocations: 0.7858 MB / 490.9 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.4344, allocations: 158.2 kB / 491 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.4346, allocations: 137.8 kB / 491.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.4371, allocations: 1.718 MB / 492.9 MB, free: 18.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.4371, allocations: 0.5625 kB / 492.9 MB, free: 18.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.4372, allocations: 54.56 kB / 492.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.4373, allocations: 32.72 kB / 492.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/0.44, allocations: 2.185 MB / 495.1 MB, free: 18.02 MB / 366.1 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.006973/0.447, allocations: 5.53 MB / 0.4889 GB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.451, allocations: 3.219 MB / 0.4921 GB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008934/0.4519, allocations: 0.8191 MB / 0.4929 GB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007185/0.4591, allocations: 6.997 MB / 0.4997 GB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.4591, allocations: 44.08 kB / 0.4997 GB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004146/0.4595, allocations: 123.1 kB / 0.4999 GB, free: 6.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 2.365e-06/0.4596, allocations: 4 kB / 0.4999 GB, free: 6.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01414/0.4737, allocations: 4.505 MB / 0.5043 GB, free: 2.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.4737, allocations: 68.41 kB / 0.5043 GB, free: 2.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.4743, allocations: 0.7314 MB / 0.5051 GB, free: 1.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/0.4744, allocations: 45.7 kB / 0.5051 GB, free: 1.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.4746, allocations: 0.6345 MB / 0.5057 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.4748, allocations: 406.1 kB / 0.5061 GB, free: 500 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.4751, allocations: 295.3 kB / 0.5064 GB, free: 200 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4752, allocations: 357.9 kB / 0.5067 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.4759, allocations: 479.8 kB / 0.5072 GB, free: 15.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009961/0.4769, allocations: 0.9917 MB / 0.5081 GB, free: 14.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.4788, allocations: 1.577 MB / 0.5097 GB, free: 12.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4788, allocations: 8 kB / 0.5097 GB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004967/0.4838, allocations: 1.998 MB / 0.5116 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4838, allocations: 12 kB / 0.5117 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.4838, allocations: 16 kB / 0.5117 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.4861, allocations: 438.2 kB / 0.5121 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4872, allocations: 375.4 kB / 0.5125 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/0.492, allocations: 3.872 MB / 0.5162 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/0.4929, allocations: 55.98 kB / 0.5163 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.4931, allocations: 95.91 kB / 0.5164 GB, free: 5.195 MB / 382.1 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.0004563/0.4935, allocations: 314.7 kB / 0.5167 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.4937, allocations: 114.7 kB / 0.5168 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/0.4988, allocations: 1.803 MB / 0.5185 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4989, allocations: 12 kB / 0.5186 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4989, allocations: 0 / 0.5186 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.4989, allocations: 11.97 kB / 0.5186 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.5004, allocations: 1.342 MB / 0.5199 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5005, allocations: 3.938 kB / 0.5199 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/0.5013, allocations: 227.7 kB / 0.5201 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/0.5035, allocations: 430.2 kB / 0.5205 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.279e-05/0.5036, allocations: 39.98 kB / 0.5206 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.5079, allocations: 3.779 MB / 0.5242 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5079, allocations: 3.938 kB / 0.5242 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/0.5132, allocations: 2.344 MB / 0.5265 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.5136, allocations: 287.6 kB / 0.5268 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.5138, allocations: 28.06 kB / 0.5268 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/0.5144, allocations: 35.98 kB / 0.5269 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.5146, allocations: 112.8 kB / 0.527 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/0.5147, allocations: 51.97 kB / 0.527 GB, free: 9.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004562/0.5152, allocations: 479 kB / 0.5275 GB, free: 9.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5152, allocations: 0 / 0.5275 GB, free: 9.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002208/0.5174, allocations: 0.8237 MB / 0.5283 GB, free: 8.559 MB / 398.1 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.007002/0.5244, allocations: 3.715 MB / 0.5319 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.5276, allocations: 1.783 MB / 0.5337 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5276, allocations: 4 kB / 0.5337 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.5289, allocations: 0.9928 MB / 0.5346 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.5299, allocations: 245.5 kB / 0.5349 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.5474, allocations: 11.26 MB / 0.5459 GB, free: 5.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.548, allocations: 1.133 MB / 0.547 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001094/0.5491, allocations: 288.9 kB / 0.5472 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006496/0.5497, allocations: 0.5695 MB / 0.5478 GB, free: 3.605 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5497, allocations: 4 kB / 0.5478 GB, free: 3.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/0.61, allocations: 38.34 MB / 0.5853 GB, free: 13.37 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.35, allocations: 3.859 kB / 0.5853 GB, free: 13.37 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_EnzymeKinetics_fmu --startTime=0 --stopTime=199000 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1)