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.0009619/0.000962, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001004/0.001004, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1758/0.1758, allocations: 15.33 MB / 305.3 MB, free: 15.29 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.89 kB / 369.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08293/0.08412, allocations: 53.62 MB / 423.4 MB, free: 14.71 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.2938/0.378, allocations: 26.9 MB / 450.3 MB, free: 39.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.3924, allocations: 19.42 MB / 469.7 MB, free: 29.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.3938, allocations: 33.12 kB / 469.7 MB, free: 29.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3949, allocations: 379.7 kB / 470.1 MB, free: 29.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.3992, allocations: 1.416 MB / 471.5 MB, free: 28.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.4053, allocations: 2.181 MB / 473.7 MB, free: 27.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.4077, allocations: 1.932 MB / 475.6 MB, free: 26.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.409, allocations: 0.9733 MB / 476.6 MB, free: 25.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.4104, allocations: 0.938 MB / 477.5 MB, free: 25.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.4121, allocations: 1.099 MB / 478.6 MB, free: 25.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.4123, allocations: 115.4 kB / 478.7 MB, free: 25.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006191/0.4185, allocations: 2.108 MB / 480.9 MB, free: 24.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004288/0.419, allocations: 378.5 kB / 481.2 MB, free: 24.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.4201, allocations: 0.8075 MB / 482 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00751/0.4276, allocations: 3.859 MB / 485.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4276, allocations: 1.156 kB / 485.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4276, allocations: 0 / 485.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.4276, allocations: 0 / 485.9 MB, free: 22.29 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.00405/0.4317, allocations: 2.192 MB / 488.1 MB, free: 21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4317, allocations: 14.34 kB / 488.1 MB, free: 21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/0.4319, allocations: 193 kB / 488.3 MB, free: 20.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.4334, allocations: 334.5 kB / 488.6 MB, free: 20.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.4347, allocations: 0.7873 MB / 489.4 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.4348, allocations: 157.5 kB / 489.6 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.435, allocations: 141.5 kB / 489.7 MB, free: 20.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.4376, allocations: 1.71 MB / 491.4 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.4377, allocations: 5.438 kB / 491.4 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.4378, allocations: 55.14 kB / 491.5 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.4378, allocations: 33.03 kB / 491.5 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.4408, allocations: 2.179 MB / 493.7 MB, free: 18.75 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.008185/0.449, allocations: 5.509 MB / 499.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004191/0.4532, allocations: 3.223 MB / 0.4906 GB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.4543, allocations: 0.8168 MB / 0.4914 GB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008266/0.4626, allocations: 7.014 MB / 0.4983 GB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.4626, allocations: 43.56 kB / 0.4983 GB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006553/0.4633, allocations: 135.6 kB / 0.4984 GB, free: 7.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.627e-06/0.4633, allocations: 0 / 0.4984 GB, free: 7.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01699/0.4803, allocations: 4.491 MB / 0.5028 GB, free: 3.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.4804, allocations: 64.41 kB / 0.5029 GB, free: 3.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.481, allocations: 0.7353 MB / 0.5036 GB, free: 2.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/0.4811, allocations: 45.7 kB / 0.5037 GB, free: 2.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.4813, allocations: 0.646 MB / 0.5043 GB, free: 2.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.4815, allocations: 410.1 kB / 0.5047 GB, free: 1.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.4819, allocations: 295.3 kB / 0.505 GB, free: 1.531 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.402e-05/0.4819, allocations: 357.9 kB / 0.5053 GB, free: 1.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.4826, allocations: 483.7 kB / 0.5058 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/0.4836, allocations: 0.984 MB / 0.5067 GB, free: 15.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.4857, allocations: 1.577 MB / 0.5083 GB, free: 13.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.4857, allocations: 4 kB / 0.5083 GB, free: 13.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005677/0.4914, allocations: 1.986 MB / 0.5102 GB, free: 11.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4914, allocations: 12 kB / 0.5102 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.4914, allocations: 16.91 kB / 0.5102 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/0.4941, allocations: 442.1 kB / 0.5107 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4952, allocations: 379.4 kB / 0.511 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/0.5003, allocations: 3.499 MB / 0.5144 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.5016, allocations: 84.02 kB / 0.5145 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.5017, allocations: 91.91 kB / 0.5146 GB, free: 6.902 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.0005471/0.5023, allocations: 329.1 kB / 0.5149 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.5025, allocations: 102.7 kB / 0.515 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/0.5083, allocations: 1.815 MB / 0.5168 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.5083, allocations: 12 kB / 0.5168 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5083, allocations: 0 / 0.5168 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.5084, allocations: 11.91 kB / 0.5168 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.5104, allocations: 1.33 MB / 0.5181 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5104, allocations: 0 / 0.5181 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/0.5112, allocations: 239.8 kB / 0.5183 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.5139, allocations: 418.1 kB / 0.5187 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.514, allocations: 39.98 kB / 0.5188 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004891/0.5189, allocations: 3.417 MB / 0.5221 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5189, allocations: 3.938 kB / 0.5221 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006043/0.525, allocations: 2.34 MB / 0.5244 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.5255, allocations: 287.6 kB / 0.5247 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.5257, allocations: 35.86 kB / 0.5247 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.5264, allocations: 39.92 kB / 0.5247 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.5266, allocations: 108.8 kB / 0.5249 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.525e-05/0.5267, allocations: 51.97 kB / 0.5249 GB, free: 11.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000556/0.5273, allocations: 479 kB / 0.5254 GB, free: 11.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5273, allocations: 0 / 0.5254 GB, free: 11.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002379/0.5297, allocations: 0.8237 MB / 0.5262 GB, free: 10.63 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.007989/0.5377, allocations: 3.723 MB / 0.5298 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.5404, allocations: 1.67 MB / 0.5314 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5404, allocations: 0 / 0.5314 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.5418, allocations: 0.9967 MB / 0.5324 GB, free: 4.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.5431, allocations: 216 kB / 0.5326 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.5634, allocations: 11.84 MB / 0.5442 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.5641, allocations: 1.129 MB / 0.5453 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001162/0.5652, allocations: 297.1 kB / 0.5456 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/0.566, allocations: 0.5656 MB / 0.5461 GB, free: 5.242 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.566, allocations: 0 / 0.5461 GB, free: 5.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05227/0.6182, allocations: 37.26 MB / 0.5825 GB, free: 120 kB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.6185, allocations: 211.9 kB / 0.5827 GB, free: 15.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.302, allocations: 0 / 0.5827 GB, free: 15.86 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)