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.001395/0.001395, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001629/0.001629, allocations: 216.5 kB / 22.25 MB, free: 5.082 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.008 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.1408/0.1408, allocations: 23.9 MB / 336.3 MB, free: 11.15 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.002071/0.002071, allocations: 71.88 kB / 471.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 59.88 MB / 0.5191 GB, free: 9.828 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.0402/0.3711, allocations: 27.71 MB / 0.5462 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02666/0.3978, allocations: 19.61 MB / 0.5653 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.3991, allocations: 27.75 kB / 0.5654 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.4004, allocations: 419.3 kB / 0.5658 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005744/0.4062, allocations: 1.668 MB / 0.5674 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007442/0.4136, allocations: 2.533 MB / 0.5699 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003576/0.4172, allocations: 1.981 MB / 0.5718 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.4186, allocations: 0.9276 MB / 0.5727 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.42, allocations: 1.017 MB / 0.5737 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.4217, allocations: 1.137 MB / 0.5748 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.422, allocations: 176 kB / 0.575 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007055/0.429, allocations: 2.192 MB / 0.5771 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005214/0.4296, allocations: 430.7 kB / 0.5775 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.4306, allocations: 0.8557 MB / 0.5784 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00986/0.4405, allocations: 4.249 MB / 0.5825 GB, free: 9.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4405, allocations: 0 / 0.5825 GB, free: 9.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4405, allocations: 4 kB / 0.5825 GB, free: 9.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.4405, allocations: 0 / 0.5825 GB, free: 9.035 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.004915/0.4454, allocations: 2.159 MB / 0.5846 GB, free: 6.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4455, allocations: 12.03 kB / 0.5846 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.4471, allocations: 343.5 kB / 0.585 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.4486, allocations: 0.7652 MB / 0.5857 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.4488, allocations: 206 kB / 0.5859 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.4491, allocations: 140.3 kB / 0.586 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.4521, allocations: 1.728 MB / 0.5877 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.4521, allocations: 0 / 0.5877 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.4523, allocations: 52 kB / 0.5878 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.4523, allocations: 36 kB / 0.5878 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003695/0.456, allocations: 2.196 MB / 0.59 GB, free: 1.273 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.009868/0.4659, allocations: 5.505 MB / 0.5953 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005305/0.4712, allocations: 2.762 MB / 0.598 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.4724, allocations: 0.7348 MB / 0.5987 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008866/0.4813, allocations: 3.992 MB / 0.6026 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.4814, allocations: 47.5 kB / 0.6027 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006466/0.482, allocations: 151.1 kB / 0.6028 GB, free: 3.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.875e-06/0.482, allocations: 0 / 0.6028 GB, free: 3.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01838/0.5004, allocations: 4.284 MB / 0.607 GB, free: 15.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.5004, allocations: 64.41 kB / 0.6071 GB, free: 15.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.5014, allocations: 0.7316 MB / 0.6078 GB, free: 14.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.867e-05/0.5015, allocations: 45.7 kB / 0.6078 GB, free: 14.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/0.5021, allocations: 0.6522 MB / 0.6085 GB, free: 13.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.5025, allocations: 440.3 kB / 0.6089 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.5029, allocations: 291.5 kB / 0.6092 GB, free: 13.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5031, allocations: 353.9 kB / 0.6095 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008709/0.504, allocations: 479.8 kB / 0.61 GB, free: 12.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.5053, allocations: 0.9879 MB / 0.6109 GB, free: 11.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.5078, allocations: 1.577 MB / 0.6125 GB, free: 9.383 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.5078, allocations: 4 kB / 0.6125 GB, free: 9.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006044/0.5138, allocations: 1.983 MB / 0.6144 GB, free: 7.383 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.5138, allocations: 12.19 kB / 0.6144 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.5139, allocations: 20 kB / 0.6144 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.5167, allocations: 450 kB / 0.6149 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.518, allocations: 371.4 kB / 0.6152 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006052/0.5241, allocations: 3.671 MB / 0.6188 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.5252, allocations: 51.98 kB / 0.6189 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.5254, allocations: 87.97 kB / 0.6189 GB, free: 2.508 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.0006003/0.526, allocations: 321.9 kB / 0.6193 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.5262, allocations: 111.2 kB / 0.6194 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00605/0.5323, allocations: 1.807 MB / 0.6211 GB, free: 256 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5323, allocations: 12 kB / 0.6211 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5323, allocations: 0 / 0.6211 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.5323, allocations: 3.984 kB / 0.6211 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.5343, allocations: 1.306 MB / 0.6224 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5344, allocations: 0 / 0.6224 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/0.5353, allocations: 231.6 kB / 0.6226 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00276/0.5381, allocations: 426.1 kB / 0.623 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.5382, allocations: 39.97 kB / 0.6231 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005446/0.5436, allocations: 3.573 MB / 0.6266 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5436, allocations: 3.938 kB / 0.6266 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006644/0.5503, allocations: 2.345 MB / 0.6289 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006538/0.5509, allocations: 215.2 kB / 0.6291 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.5511, allocations: 24 kB / 0.6291 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.5518, allocations: 31.92 kB / 0.6291 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/0.552, allocations: 112.8 kB / 0.6292 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.5521, allocations: 47.97 kB / 0.6293 GB, free: 7.562 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007866/0.5529, allocations: 475 kB / 0.6297 GB, free: 7.098 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5529, allocations: 4 kB / 0.6297 GB, free: 7.094 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002522/0.5555, allocations: 0.8454 MB / 0.6306 GB, free: 6.246 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.001911/0.5574, allocations: 0.9536 MB / 0.6315 GB, free: 5.281 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003162/0.5605, allocations: 1.516 MB / 0.633 GB, free: 3.738 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5605, allocations: 0 / 0.633 GB, free: 3.738 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.5621, allocations: 0.8589 MB / 0.6338 GB, free: 2.852 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.5634, allocations: 251.3 kB / 0.6341 GB, free: 2.621 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.5681, allocations: 2.434 MB / 0.6364 GB, free: 152 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/0.5691, allocations: 1.125 MB / 0.6375 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.5701, allocations: 300.8 kB / 0.6378 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.5706, allocations: 183.3 kB / 0.638 GB, free: 14.51 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5706, allocations: 0 / 0.638 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Templates: time 0.05094/0.6215, allocations: 29.87 MB / 0.6672 GB, free: 0.7148 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: 6.110759885981679] Failed to read output from testmodel.py, exit status != 0: 0.630983745213598 0.645937769 0.202185799 Calling exit ...