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.001233/0.001233, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 195.8 kB / 16.26 MB, free: 6.621 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.184/0.184, allocations: 15.32 MB / 305.4 MB, free: 15.34 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.14 kB / 369.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.08813, allocations: 53.61 MB / 423.5 MB, free: 14.56 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.2775/0.3657, allocations: 26.9 MB / 450.4 MB, free: 39.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.3794, allocations: 19.22 MB / 469.7 MB, free: 29.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.3802, allocations: 28.78 kB / 469.7 MB, free: 29.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008234/0.381, allocations: 378.8 kB / 470.1 MB, free: 29.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.3839, allocations: 1.471 MB / 471.5 MB, free: 28.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.3887, allocations: 2.221 MB / 473.8 MB, free: 27.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.3904, allocations: 1.967 MB / 475.7 MB, free: 26.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008837/0.3913, allocations: 1.118 MB / 476.8 MB, free: 25.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000806/0.3921, allocations: 1.013 MB / 477.9 MB, free: 25.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.3932, allocations: 1.137 MB / 479 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.3934, allocations: 178.8 kB / 479.2 MB, free: 25.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005855/0.3993, allocations: 2.209 MB / 481.4 MB, free: 24.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.3996, allocations: 433.5 kB / 481.8 MB, free: 24.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00083/0.4005, allocations: 0.8708 MB / 482.7 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005982/0.4065, allocations: 3.919 MB / 486.6 MB, free: 22.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4065, allocations: 1.188 kB / 486.6 MB, free: 22.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4065, allocations: 0 / 486.6 MB, free: 22.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.4065, allocations: 3.938 kB / 486.6 MB, free: 22.12 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.003777/0.4103, allocations: 2.195 MB / 488.8 MB, free: 20.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4104, allocations: 10.33 kB / 488.8 MB, free: 20.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.4106, allocations: 193.5 kB / 489 MB, free: 20.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.4119, allocations: 343.2 kB / 489.3 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/0.4129, allocations: 0.7907 MB / 490.1 MB, free: 20.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.413, allocations: 158.4 kB / 490.3 MB, free: 19.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.4132, allocations: 135.8 kB / 490.4 MB, free: 19.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.4156, allocations: 1.717 MB / 492.1 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.4157, allocations: 0 / 492.1 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.4158, allocations: 55.39 kB / 492.2 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.4158, allocations: 32.25 kB / 492.2 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.4185, allocations: 2.183 MB / 494.4 MB, free: 18.56 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.006831/0.4253, allocations: 5.504 MB / 499.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.4292, allocations: 3.223 MB / 0.4913 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009339/0.4302, allocations: 0.8158 MB / 0.4921 GB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007173/0.4374, allocations: 7.014 MB / 0.499 GB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.4374, allocations: 44.64 kB / 0.499 GB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004133/0.4378, allocations: 126.9 kB / 0.4991 GB, free: 7.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 2.294e-06/0.4378, allocations: 4 kB / 0.4991 GB, free: 7 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01612/0.4539, allocations: 4.499 MB / 0.5035 GB, free: 3.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.454, allocations: 64.41 kB / 0.5036 GB, free: 2.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.4546, allocations: 0.7329 MB / 0.5043 GB, free: 2.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.4547, allocations: 41.7 kB / 0.5043 GB, free: 2.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.455, allocations: 0.646 MB / 0.505 GB, free: 1.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.4552, allocations: 410.1 kB / 0.5054 GB, free: 1.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.4555, allocations: 295.3 kB / 0.5057 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.628e-05/0.4556, allocations: 353.9 kB / 0.506 GB, free: 460 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.4562, allocations: 479.8 kB / 0.5064 GB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.4573, allocations: 0.9879 MB / 0.5074 GB, free: 14.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.4593, allocations: 1.577 MB / 0.509 GB, free: 12.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4593, allocations: 4 kB / 0.509 GB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005733/0.465, allocations: 1.99 MB / 0.5109 GB, free: 10.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.4651, allocations: 12 kB / 0.5109 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.4651, allocations: 16 kB / 0.5109 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/0.4678, allocations: 446.3 kB / 0.5114 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.4691, allocations: 375.4 kB / 0.5117 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/0.4746, allocations: 3.883 MB / 0.5155 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.4759, allocations: 88.02 kB / 0.5156 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.476, allocations: 87.97 kB / 0.5157 GB, free: 5.785 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.0005173/0.4766, allocations: 321.2 kB / 0.516 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.4768, allocations: 110.5 kB / 0.5161 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005607/0.4824, allocations: 1.803 MB / 0.5178 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.4824, allocations: 12 kB / 0.5179 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4824, allocations: 0 / 0.5179 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.4824, allocations: 3.984 kB / 0.5179 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.4842, allocations: 1.346 MB / 0.5192 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.4842, allocations: 3.938 kB / 0.5192 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008685/0.4851, allocations: 231.7 kB / 0.5194 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/0.4878, allocations: 418.2 kB / 0.5198 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.4879, allocations: 47.97 kB / 0.5198 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005049/0.493, allocations: 3.779 MB / 0.5235 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.493, allocations: 7.969 kB / 0.5235 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006242/0.4992, allocations: 2.352 MB / 0.5258 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/0.4999, allocations: 283.7 kB / 0.5261 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.5, allocations: 27.94 kB / 0.5261 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/0.5008, allocations: 51.83 kB / 0.5262 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/0.501, allocations: 108.8 kB / 0.5263 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.5011, allocations: 51.97 kB / 0.5263 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005338/0.5017, allocations: 479 kB / 0.5268 GB, free: 9.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5017, allocations: 4 kB / 0.5268 GB, free: 9.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00246/0.5041, allocations: 0.8197 MB / 0.5276 GB, free: 9.121 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.008308/0.5125, allocations: 3.715 MB / 0.5312 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003483/0.516, allocations: 1.786 MB / 0.533 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.516, allocations: 0 / 0.533 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.5173, allocations: 0.9979 MB / 0.5339 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.5186, allocations: 240.8 kB / 0.5342 GB, free: 2.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/0.5385, allocations: 11.83 MB / 0.5457 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.5391, allocations: 1.133 MB / 0.5468 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.5403, allocations: 301 kB / 0.5471 GB, free: 4.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/0.541, allocations: 0.5695 MB / 0.5477 GB, free: 3.602 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.541, allocations: 0 / 0.5477 GB, free: 3.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05927/0.6003, allocations: 38.16 MB / 0.5849 GB, free: 13.6 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.6006, allocations: 202.8 kB / 0.5851 GB, free: 13.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.342, allocations: 7.875 kB / 0.5851 GB, free: 13.34 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)