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.001285/0.001285, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001389/0.001389, allocations: 214 kB / 22.24 MB, free: 5.262 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.816 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.1412/0.1412, allocations: 24 MB / 336.4 MB, free: 10.88 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: translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics") translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics") [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.002022/0.002022, allocations: 67.89 kB / 471.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3051, allocations: 59.9 MB / 0.5192 GB, free: 9.684 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.07015/0.3752, allocations: 27.04 MB / 0.5456 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02478/0.4, allocations: 17.18 MB / 0.5624 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.4014, allocations: 23.75 kB / 0.5624 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.4028, allocations: 382.8 kB / 0.5628 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005505/0.4083, allocations: 1.661 MB / 0.5644 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00696/0.4153, allocations: 2.535 MB / 0.5669 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00275/0.418, allocations: 1.977 MB / 0.5688 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.4193, allocations: 0.9158 MB / 0.5697 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.4206, allocations: 1.021 MB / 0.5707 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.4224, allocations: 1.028 MB / 0.5717 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003883/0.4227, allocations: 172 kB / 0.5719 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005264/0.428, allocations: 2.055 MB / 0.5739 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005767/0.4286, allocations: 422.8 kB / 0.5743 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.4298, allocations: 0.7393 MB / 0.575 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008597/0.4384, allocations: 4.233 MB / 0.5791 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4384, allocations: 8 kB / 0.5791 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4384, allocations: 0 / 0.5791 GB, free: 12.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.153e-05/0.4385, allocations: 0 / 0.5791 GB, free: 12.25 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.00478/0.4433, allocations: 2.159 MB / 0.5813 GB, free: 10.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4433, allocations: 15.97 kB / 0.5813 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.4448, allocations: 343.5 kB / 0.5816 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.4462, allocations: 0.7497 MB / 0.5823 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.4464, allocations: 210 kB / 0.5825 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.4467, allocations: 140.3 kB / 0.5827 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/0.4495, allocations: 1.724 MB / 0.5844 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.4496, allocations: 0 / 0.5844 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.4497, allocations: 56 kB / 0.5844 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.4497, allocations: 32 kB / 0.5844 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/0.4532, allocations: 2.177 MB / 0.5866 GB, free: 4.52 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.008461/0.4617, allocations: 4.417 MB / 0.5909 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/0.4667, allocations: 2.714 MB / 0.5935 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.4679, allocations: 0.7309 MB / 0.5942 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008237/0.4761, allocations: 3.778 MB / 0.5979 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.4762, allocations: 39.56 kB / 0.598 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005351/0.4767, allocations: 147.2 kB / 0.5981 GB, free: 8.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.026e-06/0.4767, allocations: 3.938 kB / 0.5981 GB, free: 8.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01663/0.4933, allocations: 4.276 MB / 0.6023 GB, free: 4.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.4934, allocations: 68.39 kB / 0.6024 GB, free: 4.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/0.4943, allocations: 0.7075 MB / 0.603 GB, free: 3.453 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.227e-05/0.4944, allocations: 45.7 kB / 0.6031 GB, free: 3.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/0.4949, allocations: 0.6677 MB / 0.6037 GB, free: 2.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.4952, allocations: 428.4 kB / 0.6041 GB, free: 2.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004036/0.4956, allocations: 299.4 kB / 0.6044 GB, free: 2.004 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4958, allocations: 349.9 kB / 0.6048 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008574/0.4967, allocations: 479.8 kB / 0.6052 GB, free: 1.188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.498, allocations: 0.9802 MB / 0.6062 GB, free: 15.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.5003, allocations: 1.585 MB / 0.6077 GB, free: 14.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5003, allocations: 4 kB / 0.6077 GB, free: 14.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005612/0.5059, allocations: 1.979 MB / 0.6097 GB, free: 12.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.5059, allocations: 16 kB / 0.6097 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.5059, allocations: 16 kB / 0.6097 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/0.5085, allocations: 446.4 kB / 0.6101 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.5098, allocations: 375.4 kB / 0.6105 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/0.5155, allocations: 3.598 MB / 0.614 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.5166, allocations: 59.94 kB / 0.614 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.5168, allocations: 87.97 kB / 0.6141 GB, free: 7.375 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.000613/0.5174, allocations: 318.1 kB / 0.6144 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.5177, allocations: 107.3 kB / 0.6145 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/0.5232, allocations: 1.787 MB / 0.6163 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5232, allocations: 15.94 kB / 0.6163 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5232, allocations: 0 / 0.6163 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.5232, allocations: 11.91 kB / 0.6163 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.5248, allocations: 0.999 MB / 0.6173 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.5248, allocations: 7.984 kB / 0.6173 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008879/0.5257, allocations: 231.8 kB / 0.6175 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.5282, allocations: 422 kB / 0.6179 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-05/0.5282, allocations: 47.91 kB / 0.618 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/0.5334, allocations: 3.496 MB / 0.6214 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5334, allocations: 4.062 kB / 0.6214 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005993/0.5394, allocations: 2.337 MB / 0.6237 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/0.5399, allocations: 215.2 kB / 0.6239 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5401, allocations: 27.94 kB / 0.6239 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.5407, allocations: 24 kB / 0.6239 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.5409, allocations: 112.8 kB / 0.624 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.591e-05/0.541, allocations: 47.97 kB / 0.6241 GB, free: 12.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005694/0.5416, allocations: 447 kB / 0.6245 GB, free: 12.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5416, allocations: 0 / 0.6245 GB, free: 12.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002214/0.5438, allocations: 0.8376 MB / 0.6253 GB, free: 11.59 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.001616/0.5454, allocations: 0.9451 MB / 0.6262 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002758/0.5482, allocations: 1.523 MB / 0.6277 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5482, allocations: 3.938 kB / 0.6277 GB, free: 9.082 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.5496, allocations: 0.8597 MB / 0.6286 GB, free: 8.195 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.5507, allocations: 237.7 kB / 0.6288 GB, free: 7.973 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.5548, allocations: 2.422 MB / 0.6312 GB, free: 5.508 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.5554, allocations: 0.5332 MB / 0.6317 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009652/0.5564, allocations: 300.5 kB / 0.632 GB, free: 4.637 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.5568, allocations: 183.3 kB / 0.6321 GB, free: 4.457 MB / 478.1 MB Notification: Performance of SimCode: time 5.72e-07/0.5568, allocations: 0 / 0.6321 GB, free: 4.457 MB / 478.1 MB Notification: Performance of Templates: time 0.04737/0.6041, allocations: 30.39 MB / 0.6618 GB, free: 6.27 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.906068271026015] Failed to read output from testmodel.py, exit status != 0: 0.6126307379454374 0.626938072 0.18536306499999994 Calling exit ...