Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001271/0.001271, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001412/0.001412, allocations: 216.5 kB / 23.03 MB, free: 4.949 MB / 14.72 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 1.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1381/0.1381, allocations: 23.87 MB / 337.1 MB, free: 10.98 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 471.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3261, allocations: 59.86 MB / 0.5193 GB, free: 9.555 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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.0/Obsolete.mo:14337:7-14337: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.0703/0.3964, allocations: 26.67 MB / 0.5453 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0245/0.4209, allocations: 17.17 MB / 0.5621 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.4225, allocations: 23.81 kB / 0.5621 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.4236, allocations: 382.2 kB / 0.5625 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.429, allocations: 1.665 MB / 0.5641 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008394/0.4374, allocations: 2.527 MB / 0.5666 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.4413, allocations: 1.985 MB / 0.5685 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.4427, allocations: 0.9236 MB / 0.5694 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.4443, allocations: 1.017 MB / 0.5704 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.4461, allocations: 1.141 MB / 0.5715 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.4464, allocations: 172 kB / 0.5717 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006075/0.4524, allocations: 2.11 MB / 0.5738 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005289/0.453, allocations: 430.7 kB / 0.5742 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009276/0.4539, allocations: 0.7315 MB / 0.5749 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008366/0.4623, allocations: 4.234 MB / 0.579 GB, free: 12.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4623, allocations: 3.938 kB / 0.579 GB, free: 12.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4623, allocations: 0 / 0.579 GB, free: 12.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.4623, allocations: 0 / 0.579 GB, free: 12.69 MB / 430.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.004511/0.4668, allocations: 2.163 MB / 0.5811 GB, free: 10.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4668, allocations: 8.031 kB / 0.5811 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.496e-05/0.4669, allocations: 38.84 kB / 0.5812 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000256/0.4672, allocations: 194.6 kB / 0.5814 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.4687, allocations: 343.3 kB / 0.5817 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.4701, allocations: 0.7652 MB / 0.5824 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.4702, allocations: 206 kB / 0.5826 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.4705, allocations: 140.1 kB / 0.5828 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.4736, allocations: 1.717 MB / 0.5844 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.4736, allocations: 0 / 0.5844 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.4737, allocations: 56 kB / 0.5845 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.4738, allocations: 35.94 kB / 0.5845 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003987/0.4778, allocations: 2.2 MB / 0.5867 GB, free: 4.691 MB / 430.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.009311/0.4871, allocations: 4.592 MB / 0.5912 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005613/0.4927, allocations: 2.704 MB / 0.5938 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.494, allocations: 0.7309 MB / 0.5945 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009605/0.5036, allocations: 3.797 MB / 0.5982 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.5037, allocations: 47.5 kB / 0.5983 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006975/0.5044, allocations: 147.1 kB / 0.5984 GB, free: 8.531 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.527e-06/0.5044, allocations: 0 / 0.5984 GB, free: 8.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01888/0.5233, allocations: 4.269 MB / 0.6026 GB, free: 4.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.5233, allocations: 68.39 kB / 0.6026 GB, free: 4.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.5245, allocations: 0.7277 MB / 0.6034 GB, free: 3.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.5246, allocations: 45.7 kB / 0.6034 GB, free: 3.359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005249/0.5252, allocations: 0.6638 MB / 0.604 GB, free: 2.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.5256, allocations: 428.3 kB / 0.6045 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/0.526, allocations: 295.4 kB / 0.6047 GB, free: 1.969 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.5262, allocations: 361.9 kB / 0.6051 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009182/0.5272, allocations: 479.8 kB / 0.6055 GB, free: 1.141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.5286, allocations: 0.9802 MB / 0.6065 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.5312, allocations: 1.581 MB / 0.608 GB, free: 14.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.5312, allocations: 11.94 kB / 0.6081 GB, free: 14.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00622/0.5374, allocations: 1.976 MB / 0.61 GB, free: 12.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.5374, allocations: 16.06 kB / 0.61 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.5375, allocations: 16 kB / 0.61 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/0.5404, allocations: 450 kB / 0.6104 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.5417, allocations: 371.5 kB / 0.6108 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006249/0.548, allocations: 3.64 MB / 0.6143 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.5493, allocations: 52.06 kB / 0.6144 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.5495, allocations: 87.97 kB / 0.6145 GB, free: 7.273 MB / 462.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.0007643/0.5503, allocations: 325.7 kB / 0.6148 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.5506, allocations: 119.2 kB / 0.6149 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006166/0.5568, allocations: 1.795 MB / 0.6167 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.5568, allocations: 12 kB / 0.6167 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5568, allocations: 4 kB / 0.6167 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.5568, allocations: 8.016 kB / 0.6167 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.5587, allocations: 1.142 MB / 0.6178 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5587, allocations: 4 kB / 0.6178 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009677/0.5596, allocations: 231.7 kB / 0.618 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002848/0.5625, allocations: 418.2 kB / 0.6184 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.5626, allocations: 39.97 kB / 0.6185 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/0.5682, allocations: 3.538 MB / 0.6219 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5682, allocations: 7.969 kB / 0.6219 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006599/0.5748, allocations: 2.337 MB / 0.6242 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006139/0.5754, allocations: 219.1 kB / 0.6244 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.5756, allocations: 31.94 kB / 0.6244 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.5763, allocations: 27.98 kB / 0.6245 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.5765, allocations: 112.8 kB / 0.6246 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.5766, allocations: 47.97 kB / 0.6246 GB, free: 12.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006364/0.5773, allocations: 483 kB / 0.6251 GB, free: 12.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5773, allocations: 0 / 0.6251 GB, free: 12.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00255/0.5798, allocations: 0.8376 MB / 0.6259 GB, free: 11.21 MB / 478.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.00904/0.5889, allocations: 3.745 MB / 0.6296 GB, free: 7.414 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003247/0.5921, allocations: 1.516 MB / 0.631 GB, free: 5.871 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5921, allocations: 0 / 0.631 GB, free: 5.871 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.5937, allocations: 0.8433 MB / 0.6319 GB, free: 5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.595, allocations: 246.4 kB / 0.6321 GB, free: 4.766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/0.6179, allocations: 10.79 MB / 0.6426 GB, free: 9.344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/0.6186, allocations: 0.5333 MB / 0.6432 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00118/0.6197, allocations: 296.8 kB / 0.6434 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009502/0.6207, allocations: 0.5773 MB / 0.644 GB, free: 7.902 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6207, allocations: 0 / 0.644 GB, free: 7.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/0.7611, allocations: 40.94 MB / 0.684 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/16.96, allocations: 8 kB / 0.684 GB, free: 15.24 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_EnzymeKinetics_fmu --startTime=0 --stopTime=199000 --stepSize=79.6 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.72611795598641] Failed to read output from testmodel.py, exit status != 0: 17.169030328048393 17.199213746 16.730962497 Calling exit ...