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.001273/0.001273, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001598/0.001598, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.1367/0.1367, allocations: 23.85 MB / 337.1 MB, free: 11.2 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.001976/0.001976, allocations: 71.91 kB / 471.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 59.86 MB / 0.5193 GB, free: 9.602 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.04135/0.3504, allocations: 27.49 MB / 0.5462 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02669/0.3771, allocations: 19.61 MB / 0.5653 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.3784, allocations: 23.81 kB / 0.5654 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.3797, allocations: 418.9 kB / 0.5658 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005126/0.3849, allocations: 1.673 MB / 0.5674 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006937/0.3918, allocations: 2.533 MB / 0.5699 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003187/0.395, allocations: 1.977 MB / 0.5718 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.3964, allocations: 0.9353 MB / 0.5727 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.3977, allocations: 1.017 MB / 0.5737 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.3997, allocations: 1.141 MB / 0.5748 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004303/0.4001, allocations: 172 kB / 0.575 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007224/0.4073, allocations: 2.18 MB / 0.5771 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007038/0.408, allocations: 430.7 kB / 0.5775 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.4092, allocations: 0.8635 MB / 0.5784 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.4201, allocations: 4.245 MB / 0.5825 GB, free: 9.426 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4201, allocations: 8 kB / 0.5825 GB, free: 9.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4201, allocations: 0 / 0.5825 GB, free: 9.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.471e-05/0.4201, allocations: 0 / 0.5825 GB, free: 9.418 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.005202/0.4253, allocations: 2.163 MB / 0.5846 GB, free: 7.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.4254, allocations: 12.03 kB / 0.5846 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.102e-05/0.4254, allocations: 34.84 kB / 0.5847 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003531/0.4258, allocations: 202.6 kB / 0.5849 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.4274, allocations: 343.3 kB / 0.5852 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.429, allocations: 0.7535 MB / 0.5859 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.4292, allocations: 214 kB / 0.5861 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.4295, allocations: 144.1 kB / 0.5863 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.4326, allocations: 1.72 MB / 0.588 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.4326, allocations: 0 / 0.588 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.4327, allocations: 52 kB / 0.588 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.4328, allocations: 32 kB / 0.588 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/0.4378, allocations: 2.193 MB / 0.5902 GB, free: 1.426 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.01255/0.4503, allocations: 5.505 MB / 0.5956 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005462/0.4558, allocations: 2.77 MB / 0.5983 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.4571, allocations: 0.7347 MB / 0.599 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009071/0.4662, allocations: 3.992 MB / 0.6029 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.4662, allocations: 47.56 kB / 0.6029 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006331/0.4669, allocations: 147.1 kB / 0.6031 GB, free: 3.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.434e-06/0.4669, allocations: 3.938 kB / 0.6031 GB, free: 3.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01822/0.4851, allocations: 4.279 MB / 0.6072 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.4851, allocations: 68.41 kB / 0.6073 GB, free: 15.56 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.4862, allocations: 0.7238 MB / 0.608 GB, free: 14.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.4863, allocations: 45.7 kB / 0.6081 GB, free: 14.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/0.4869, allocations: 0.6638 MB / 0.6087 GB, free: 14.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/0.4873, allocations: 428.3 kB / 0.6091 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004805/0.4877, allocations: 299.4 kB / 0.6094 GB, free: 13.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4879, allocations: 353.9 kB / 0.6097 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009272/0.4889, allocations: 479.8 kB / 0.6102 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.4903, allocations: 0.9801 MB / 0.6112 GB, free: 11.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.4927, allocations: 1.581 MB / 0.6127 GB, free: 9.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.4928, allocations: 11.94 kB / 0.6127 GB, free: 9.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005945/0.4987, allocations: 1.983 MB / 0.6146 GB, free: 7.527 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.4987, allocations: 12 kB / 0.6147 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.4988, allocations: 16 kB / 0.6147 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002648/0.5014, allocations: 442.3 kB / 0.6151 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.5028, allocations: 375.4 kB / 0.6155 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006145/0.5089, allocations: 3.679 MB / 0.619 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.5102, allocations: 52 kB / 0.6191 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.5104, allocations: 83.97 kB / 0.6192 GB, free: 2.656 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.0006682/0.5111, allocations: 329.8 kB / 0.6195 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.5114, allocations: 119.2 kB / 0.6196 GB, free: 2.207 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005994/0.5174, allocations: 1.784 MB / 0.6213 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.5174, allocations: 16 kB / 0.6214 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.5174, allocations: 4 kB / 0.6214 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.5174, allocations: 7.922 kB / 0.6214 GB, free: 388 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.5196, allocations: 1.31 MB / 0.6226 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5196, allocations: 0 / 0.6226 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000936/0.5206, allocations: 231.8 kB / 0.6229 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/0.5232, allocations: 422.1 kB / 0.6233 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.5233, allocations: 55.91 kB / 0.6233 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005487/0.5288, allocations: 3.565 MB / 0.6268 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5288, allocations: 0 / 0.6268 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006416/0.5352, allocations: 2.337 MB / 0.6291 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/0.5359, allocations: 223.1 kB / 0.6293 GB, free: 7.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.536, allocations: 27.94 kB / 0.6293 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.5367, allocations: 24 kB / 0.6294 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.5369, allocations: 116.7 kB / 0.6295 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.5371, allocations: 51.98 kB / 0.6295 GB, free: 7.699 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006832/0.5377, allocations: 479 kB / 0.63 GB, free: 7.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5377, allocations: 0 / 0.63 GB, free: 7.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002814/0.5406, allocations: 0.8415 MB / 0.6308 GB, free: 6.387 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.009277/0.5498, allocations: 3.745 MB / 0.6344 GB, free: 2.594 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003426/0.5533, allocations: 1.512 MB / 0.6359 GB, free: 1.055 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5533, allocations: 4.125 kB / 0.6359 GB, free: 1.051 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.5549, allocations: 0.8472 MB / 0.6368 GB, free: 180 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.5562, allocations: 253.4 kB / 0.637 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/0.5782, allocations: 10.79 MB / 0.6475 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/0.5791, allocations: 1.125 MB / 0.6486 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00106/0.5801, allocations: 300.8 kB / 0.6489 GB, free: 3.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008782/0.581, allocations: 0.5656 MB / 0.6495 GB, free: 2.5 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.581, allocations: 0 / 0.6495 GB, free: 2.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0912/0.6722, allocations: 40.32 MB / 0.6889 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.6, allocations: 4.062 kB / 0.6889 GB, free: 10.38 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 sys.exit(0), Time elapsed: 19.560812182025984] Failed to read output from testmodel.py, exit status != 0: 16.823253710987046 16.850037397 16.424984988 Calling exit ...