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.001878/0.001878, allocations: 103.8 kB / 16.45 MB, free: 6.504 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.002239/0.002239, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.1833/0.1833, allocations: 23.85 MB / 332.7 MB, free: 12.46 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 / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3523, allocations: 59.81 MB / 0.5135 GB, free: 8.785 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.04259/0.3949, allocations: 27.64 MB / 0.5405 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02763/0.4225, allocations: 19.57 MB / 0.5596 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.4239, allocations: 23.81 kB / 0.5596 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.4254, allocations: 415.3 kB / 0.56 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006457/0.4319, allocations: 1.655 MB / 0.5616 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009029/0.4409, allocations: 2.511 MB / 0.5641 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004048/0.445, allocations: 1.98 MB / 0.566 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.4466, allocations: 0.9506 MB / 0.5669 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.4484, allocations: 1.013 MB / 0.5679 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/0.4508, allocations: 1.141 MB / 0.569 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004223/0.4512, allocations: 179.9 kB / 0.5692 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008517/0.4597, allocations: 2.184 MB / 0.5713 GB, free: 64 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007308/0.4605, allocations: 434.8 kB / 0.5717 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.4617, allocations: 0.8557 MB / 0.5726 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.4727, allocations: 4.253 MB / 0.5767 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4727, allocations: 0 / 0.5767 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4728, allocations: 0 / 0.5767 GB, free: 10.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.712e-05/0.4728, allocations: 0 / 0.5767 GB, free: 10.51 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.005144/0.4779, allocations: 2.234 MB / 0.5789 GB, free: 8.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.478, allocations: 8.031 kB / 0.5789 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002823/0.4783, allocations: 194.6 kB / 0.5791 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.48, allocations: 351.2 kB / 0.5794 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.4816, allocations: 0.8231 MB / 0.5802 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.4818, allocations: 162.6 kB / 0.5804 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.4821, allocations: 144.3 kB / 0.5805 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/0.4853, allocations: 1.72 MB / 0.5822 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.4853, allocations: 4 kB / 0.5822 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.4855, allocations: 52 kB / 0.5823 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.4855, allocations: 32 kB / 0.5823 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/0.4895, allocations: 2.193 MB / 0.5844 GB, free: 2.441 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.01036/0.4999, allocations: 5.559 MB / 0.5899 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00595/0.5059, allocations: 3.135 MB / 0.5929 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.5076, allocations: 0.7309 MB / 0.5936 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.5194, allocations: 7.053 MB / 0.6005 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.5194, allocations: 47.55 kB / 0.6006 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006905/0.5201, allocations: 143.1 kB / 0.6007 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 4.228e-06/0.5201, allocations: 4 kB / 0.6007 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01931/0.5394, allocations: 4.514 MB / 0.6051 GB, free: 12.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.5395, allocations: 64.41 kB / 0.6052 GB, free: 11.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.5406, allocations: 0.7238 MB / 0.6059 GB, free: 11.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.5407, allocations: 45.7 kB / 0.6059 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.5413, allocations: 0.6561 MB / 0.6066 GB, free: 10.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/0.5418, allocations: 432.3 kB / 0.607 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/0.5424, allocations: 299.4 kB / 0.6073 GB, free: 9.785 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5426, allocations: 353.9 kB / 0.6076 GB, free: 9.434 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.5436, allocations: 479.8 kB / 0.6081 GB, free: 8.965 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.545, allocations: 0.9801 MB / 0.609 GB, free: 7.762 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002649/0.5477, allocations: 1.581 MB / 0.6106 GB, free: 5.953 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.5477, allocations: 4 kB / 0.6106 GB, free: 5.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006302/0.554, allocations: 1.983 MB / 0.6125 GB, free: 3.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.554, allocations: 15.94 kB / 0.6125 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.554, allocations: 16 kB / 0.6125 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.5568, allocations: 450.8 kB / 0.613 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.5583, allocations: 379.4 kB / 0.6133 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/0.5648, allocations: 3.865 MB / 0.6171 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.5661, allocations: 59.98 kB / 0.6172 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/0.5664, allocations: 83.97 kB / 0.6172 GB, free: 14.82 MB / 478.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.0007562/0.5671, allocations: 313.5 kB / 0.6175 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.5675, allocations: 119.2 kB / 0.6177 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006284/0.5738, allocations: 1.799 MB / 0.6194 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.5738, allocations: 12 kB / 0.6194 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5738, allocations: 4 kB / 0.6194 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.5738, allocations: 7.969 kB / 0.6194 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.5763, allocations: 1.338 MB / 0.6207 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.5763, allocations: 7.875 kB / 0.6208 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.5773, allocations: 227.8 kB / 0.621 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.58, allocations: 418.2 kB / 0.6214 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.5802, allocations: 47.97 kB / 0.6214 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005791/0.586, allocations: 3.783 MB / 0.6251 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.586, allocations: 7.969 kB / 0.6251 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006859/0.5928, allocations: 2.341 MB / 0.6274 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.5935, allocations: 292.3 kB / 0.6277 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.5937, allocations: 35.94 kB / 0.6277 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/0.5945, allocations: 27.94 kB / 0.6277 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.5948, allocations: 100.8 kB / 0.6278 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.5949, allocations: 55.97 kB / 0.6279 GB, free: 3.477 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007617/0.5957, allocations: 479 kB / 0.6284 GB, free: 3.008 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5957, allocations: 0 / 0.6284 GB, free: 3.008 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003002/0.5987, allocations: 0.8337 MB / 0.6292 GB, free: 2.172 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.009446/0.6081, allocations: 3.733 MB / 0.6328 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.6114, allocations: 1.603 MB / 0.6344 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6114, allocations: 0 / 0.6344 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.6132, allocations: 0.9344 MB / 0.6353 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.6146, allocations: 235.8 kB / 0.6355 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/0.6381, allocations: 10.77 MB / 0.646 GB, free: 132 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.6391, allocations: 1.133 MB / 0.6471 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001172/0.6403, allocations: 304.8 kB / 0.6474 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009443/0.6412, allocations: 0.5695 MB / 0.648 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of SimCode: time 1.203e-06/0.6412, allocations: 0 / 0.648 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09146/0.7327, allocations: 39.09 MB / 0.6862 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.51, allocations: 11.5 kB / 0.6862 GB, free: 7.16 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.37638600799255] Failed to read output from testmodel.py, exit status != 0: 16.63886545295827 16.664475716 16.186354541 Calling exit ...