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.001801/0.001801, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002313/0.002313, allocations: 218.2 kB / 22.24 MB, free: 5.254 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.785 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.1583/0.1583, allocations: 23.88 MB / 336.3 MB, free: 10.94 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="me",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.002068/0.002068, allocations: 75.89 kB / 471.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 59.86 MB / 0.5185 GB, free: 9.566 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.07169/0.3996, allocations: 26.94 MB / 0.5448 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02573/0.4254, allocations: 17.17 MB / 0.5616 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.4269, allocations: 23.81 kB / 0.5616 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.4282, allocations: 382.7 kB / 0.562 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.4335, allocations: 1.665 MB / 0.5636 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007489/0.441, allocations: 2.542 MB / 0.5661 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003567/0.4446, allocations: 1.977 MB / 0.568 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.446, allocations: 0.9276 MB / 0.5689 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.4474, allocations: 1.017 MB / 0.5699 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.4492, allocations: 1.141 MB / 0.571 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.4495, allocations: 172 kB / 0.5712 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005806/0.4553, allocations: 2.102 MB / 0.5733 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005202/0.4558, allocations: 438.6 kB / 0.5737 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009174/0.4567, allocations: 0.7315 MB / 0.5744 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008406/0.4651, allocations: 4.237 MB / 0.5785 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4652, allocations: 4 kB / 0.5785 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4652, allocations: 3.938 kB / 0.5785 GB, free: 12.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.16e-05/0.4652, allocations: 0 / 0.5785 GB, free: 12.34 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.004824/0.47, allocations: 2.151 MB / 0.5806 GB, free: 10.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4701, allocations: 12.03 kB / 0.5807 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002645/0.4703, allocations: 194.6 kB / 0.5808 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.4719, allocations: 347.3 kB / 0.5812 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.4734, allocations: 0.7536 MB / 0.5819 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.4736, allocations: 214 kB / 0.5821 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.4739, allocations: 140.3 kB / 0.5822 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.477, allocations: 1.724 MB / 0.5839 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.477, allocations: 4 kB / 0.5839 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.4772, allocations: 52 kB / 0.584 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.4772, allocations: 32 kB / 0.584 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.4809, allocations: 2.173 MB / 0.5861 GB, free: 4.414 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.009376/0.4903, allocations: 4.588 MB / 0.5906 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005345/0.4957, allocations: 2.704 MB / 0.5933 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.4969, allocations: 0.7338 MB / 0.594 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009259/0.5062, allocations: 3.793 MB / 0.5977 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.404e-05/0.5062, allocations: 39.56 kB / 0.5977 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000818/0.507, allocations: 155.1 kB / 0.5979 GB, free: 8.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.557e-06/0.507, allocations: 0 / 0.5979 GB, free: 8.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.0197/0.5267, allocations: 4.277 MB / 0.602 GB, free: 3.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.5268, allocations: 64.41 kB / 0.6021 GB, free: 3.875 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.5279, allocations: 0.7547 MB / 0.6028 GB, free: 3.109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.528, allocations: 45.7 kB / 0.6029 GB, free: 3.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.5285, allocations: 0.6599 MB / 0.6035 GB, free: 2.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/0.5289, allocations: 428.3 kB / 0.6039 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/0.5294, allocations: 295.5 kB / 0.6042 GB, free: 1.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5296, allocations: 349.9 kB / 0.6045 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/0.5305, allocations: 487.7 kB / 0.605 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.5318, allocations: 0.9841 MB / 0.606 GB, free: 15.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.5342, allocations: 1.577 MB / 0.6075 GB, free: 13.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.5342, allocations: 7.938 kB / 0.6075 GB, free: 13.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006302/0.5405, allocations: 1.991 MB / 0.6095 GB, free: 11.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.5406, allocations: 16.06 kB / 0.6095 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.5406, allocations: 19.94 kB / 0.6095 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.5437, allocations: 450 kB / 0.6099 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.5451, allocations: 367.4 kB / 0.6103 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/0.5513, allocations: 3.644 MB / 0.6138 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.5524, allocations: 60.05 kB / 0.6139 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.5526, allocations: 87.97 kB / 0.614 GB, free: 6.953 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.0005558/0.5532, allocations: 317.2 kB / 0.6143 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.5534, allocations: 111.2 kB / 0.6144 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006258/0.5597, allocations: 1.792 MB / 0.6161 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.5597, allocations: 12 kB / 0.6161 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5597, allocations: 4 kB / 0.6162 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.5597, allocations: 11.92 kB / 0.6162 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.5617, allocations: 1.142 MB / 0.6173 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.5617, allocations: 3.938 kB / 0.6173 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.5627, allocations: 227.7 kB / 0.6175 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002902/0.5656, allocations: 418.2 kB / 0.6179 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.5657, allocations: 47.97 kB / 0.6179 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/0.5714, allocations: 3.534 MB / 0.6214 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.5715, allocations: 7.875 kB / 0.6214 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007111/0.5786, allocations: 2.345 MB / 0.6237 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008265/0.5794, allocations: 219.2 kB / 0.6239 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.5796, allocations: 35.92 kB / 0.6239 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/0.5803, allocations: 24 kB / 0.624 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.5806, allocations: 112.9 kB / 0.6241 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.5808, allocations: 55.91 kB / 0.6241 GB, free: 12.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007081/0.5815, allocations: 479 kB / 0.6246 GB, free: 11.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5815, allocations: 0 / 0.6246 GB, free: 11.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003256/0.5847, allocations: 0.8415 MB / 0.6254 GB, free: 10.89 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.009579/0.5943, allocations: 3.733 MB / 0.629 GB, free: 7.105 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003134/0.5974, allocations: 1.516 MB / 0.6305 GB, free: 5.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.5974, allocations: 0 / 0.6305 GB, free: 5.562 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.599, allocations: 0.8511 MB / 0.6314 GB, free: 4.684 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.6004, allocations: 240.1 kB / 0.6316 GB, free: 4.449 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/0.6233, allocations: 10.79 MB / 0.6421 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.624, allocations: 0.5333 MB / 0.6426 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.625, allocations: 308.7 kB / 0.6429 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008756/0.6259, allocations: 0.5656 MB / 0.6435 GB, free: 7.594 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6259, allocations: 0 / 0.6435 GB, free: 7.594 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09458/0.7205, allocations: 41.23 MB / 0.6837 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.4, allocations: 14.62 kB / 0.6838 GB, free: 14.63 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.216445380996447] Failed to read output from testmodel.py, exit status != 0: 15.543988203979097 15.559818591 15.091287653 Calling exit ...