Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001703/0.001703, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001484/0.001484, allocations: 212.3 kB / 22.25 MB, free: 4.855 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1615/0.1615, allocations: 23.99 MB / 336.4 MB, free: 10.83 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_master_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.002064/0.002064, allocations: 67.91 kB / 471.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3707, allocations: 59.89 MB / 0.5187 GB, free: 9.48 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07198/0.4427, allocations: 27.06 MB / 0.5452 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02481/0.4675, allocations: 17.17 MB / 0.5619 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.4691, allocations: 23.81 kB / 0.5619 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.4703, allocations: 374.7 kB / 0.5623 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005656/0.476, allocations: 1.661 MB / 0.5639 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008007/0.484, allocations: 2.534 MB / 0.5664 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003173/0.4872, allocations: 1.989 MB / 0.5683 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.4885, allocations: 0.9081 MB / 0.5692 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.49, allocations: 1.017 MB / 0.5702 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.4919, allocations: 1.024 MB / 0.5712 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.4923, allocations: 176 kB / 0.5714 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005692/0.498, allocations: 2.059 MB / 0.5734 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005504/0.4986, allocations: 430.7 kB / 0.5738 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009368/0.4995, allocations: 0.7315 MB / 0.5745 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008392/0.5079, allocations: 4.237 MB / 0.5787 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5079, allocations: 0 / 0.5787 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5079, allocations: 3.938 kB / 0.5787 GB, free: 12.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.5079, allocations: 0 / 0.5787 GB, free: 12.24 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.00449/0.5124, allocations: 2.162 MB / 0.5808 GB, free: 10.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.5125, allocations: 8.031 kB / 0.5808 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002609/0.5127, allocations: 194.6 kB / 0.581 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.5143, allocations: 335.5 kB / 0.5813 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.5159, allocations: 0.7575 MB / 0.582 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.5162, allocations: 214 kB / 0.5822 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.5165, allocations: 136.3 kB / 0.5824 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.5196, allocations: 1.736 MB / 0.5841 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.5196, allocations: 0 / 0.5841 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.5198, allocations: 52 kB / 0.5841 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.5198, allocations: 32 kB / 0.5841 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/0.5236, allocations: 2.173 MB / 0.5863 GB, free: 4.312 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.01004/0.5337, allocations: 4.592 MB / 0.5908 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005594/0.5393, allocations: 2.7 MB / 0.5934 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.5407, allocations: 0.7309 MB / 0.5941 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009285/0.55, allocations: 3.79 MB / 0.5978 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.5501, allocations: 43.56 kB / 0.5978 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006593/0.5507, allocations: 143.2 kB / 0.598 GB, free: 8.172 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.397e-06/0.5507, allocations: 0 / 0.598 GB, free: 8.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.0181/0.5688, allocations: 4.28 MB / 0.6022 GB, free: 3.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.5689, allocations: 68.41 kB / 0.6022 GB, free: 3.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.5699, allocations: 0.7547 MB / 0.603 GB, free: 3.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.5701, allocations: 45.7 kB / 0.603 GB, free: 2.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/0.5706, allocations: 0.66 MB / 0.6036 GB, free: 2.293 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004645/0.5711, allocations: 436.3 kB / 0.6041 GB, free: 1.863 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/0.5716, allocations: 295.4 kB / 0.6043 GB, free: 1.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5718, allocations: 353.9 kB / 0.6047 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.5728, allocations: 479.8 kB / 0.6051 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.5742, allocations: 0.9879 MB / 0.6061 GB, free: 15.53 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.5768, allocations: 1.577 MB / 0.6076 GB, free: 13.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.5768, allocations: 4 kB / 0.6077 GB, free: 13.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006258/0.583, allocations: 1.986 MB / 0.6096 GB, free: 11.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.5831, allocations: 16.09 kB / 0.6096 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.5831, allocations: 20 kB / 0.6096 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002684/0.5858, allocations: 442 kB / 0.61 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.5873, allocations: 379.4 kB / 0.6104 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/0.5933, allocations: 3.636 MB / 0.614 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.5944, allocations: 55.92 kB / 0.614 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.5946, allocations: 91.97 kB / 0.6141 GB, free: 6.863 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.0006046/0.5952, allocations: 317.3 kB / 0.6144 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.5955, allocations: 115.2 kB / 0.6145 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005998/0.6015, allocations: 1.796 MB / 0.6163 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.6015, allocations: 12 kB / 0.6163 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6015, allocations: 0 / 0.6163 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.6015, allocations: 3.984 kB / 0.6163 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.6037, allocations: 1.151 MB / 0.6174 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.6037, allocations: 7.938 kB / 0.6174 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009919/0.6047, allocations: 227.7 kB / 0.6176 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/0.6072, allocations: 426.2 kB / 0.618 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.6074, allocations: 39.97 kB / 0.6181 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/0.6129, allocations: 3.534 MB / 0.6215 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.6129, allocations: 7.969 kB / 0.6215 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00668/0.6196, allocations: 2.337 MB / 0.6238 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.6203, allocations: 219.1 kB / 0.624 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.6205, allocations: 35.92 kB / 0.6241 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/0.6211, allocations: 24 kB / 0.6241 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.6214, allocations: 112.8 kB / 0.6242 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.6215, allocations: 56.03 kB / 0.6242 GB, free: 12.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006859/0.6222, allocations: 483 kB / 0.6247 GB, free: 11.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6222, allocations: 0 / 0.6247 GB, free: 11.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002553/0.6248, allocations: 0.8337 MB / 0.6255 GB, free: 10.8 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.008689/0.6334, allocations: 3.75 MB / 0.6292 GB, free: 7.004 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003221/0.6367, allocations: 1.516 MB / 0.6307 GB, free: 5.461 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6367, allocations: 4 kB / 0.6307 GB, free: 5.457 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.6383, allocations: 0.8472 MB / 0.6315 GB, free: 4.582 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.6396, allocations: 234.7 kB / 0.6317 GB, free: 4.355 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/0.6617, allocations: 10.78 MB / 0.6422 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/0.6624, allocations: 0.5333 MB / 0.6428 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001136/0.6635, allocations: 308.7 kB / 0.6431 GB, free: 8.074 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/0.6644, allocations: 0.5695 MB / 0.6436 GB, free: 7.504 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6644, allocations: 4 kB / 0.6436 GB, free: 7.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09388/0.7583, allocations: 40.77 MB / 0.6834 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.47, allocations: 8 kB / 0.6834 GB, free: 15.02 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_EnzymeKinetics_fmu --startTime=0 --stopTime=199000 --stepSize=79.6 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_EnzymeKinetics.fmu > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.176998655777425] Failed to read output from testmodel.py, exit status != 0: 15.61746276402846 15.633431122 15.121836359 Calling exit ...