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.001289/0.001289, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001338/0.001338, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.341/1.341, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.1312/0.1312, allocations: 17.36 MB / 277.1 MB, free: 15.25 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: translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.EnzymeKinetics") translateModel(Chemical.Obsolete.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002019/0.002019, allocations: 67.89 kB / 412.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1081, allocations: 59.86 MB / 472.3 MB, free: 9.746 MB / 446.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.4209/0.529, allocations: 27.02 MB / 499.3 MB, free: 38.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.5449, allocations: 17.17 MB / 0.5044 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009021/0.5458, allocations: 26.66 kB / 0.5044 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009864/0.5467, allocations: 382.1 kB / 0.5048 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.5509, allocations: 1.665 MB / 0.5064 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005602/0.5565, allocations: 2.534 MB / 0.5089 GB, free: 26.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.5589, allocations: 1.979 MB / 0.5108 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.5599, allocations: 0.9141 MB / 0.5117 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.561, allocations: 1.013 MB / 0.5127 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.5624, allocations: 1.025 MB / 0.5137 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000301/0.5627, allocations: 172.8 kB / 0.5138 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005754/0.5684, allocations: 2.048 MB / 0.5158 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000445/0.5689, allocations: 440 kB / 0.5163 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009252/0.5698, allocations: 0.7375 MB / 0.517 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007906/0.5777, allocations: 4.235 MB / 0.5211 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5777, allocations: 0 / 0.5211 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5777, allocations: 0 / 0.5211 GB, free: 21.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.974e-05/0.5777, allocations: 1.375 kB / 0.5211 GB, free: 21.88 MB / 446.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.003993/0.5817, allocations: 2.153 MB / 0.5232 GB, free: 20.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5818, allocations: 9.688 kB / 0.5232 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.5832, allocations: 341.8 kB / 0.5236 GB, free: 20.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5845, allocations: 0.7588 MB / 0.5243 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.5846, allocations: 212.2 kB / 0.5245 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.5848, allocations: 144.7 kB / 0.5246 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.5872, allocations: 1.728 MB / 0.5263 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.5872, allocations: 0 / 0.5263 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.5873, allocations: 55.31 kB / 0.5264 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.5874, allocations: 31.41 kB / 0.5264 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002899/0.5903, allocations: 2.173 MB / 0.5285 GB, free: 18.47 MB / 446.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.007854/0.5981, allocations: 4.428 MB / 0.5329 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/0.6033, allocations: 2.69 MB / 0.5355 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.6043, allocations: 0.7318 MB / 0.5362 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006917/0.6112, allocations: 3.797 MB / 0.5399 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.6113, allocations: 39.56 kB / 0.5399 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005154/0.6118, allocations: 142 kB / 0.5401 GB, free: 11.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.985e-06/0.6118, allocations: 4 kB / 0.5401 GB, free: 11.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01539/0.6272, allocations: 4.275 MB / 0.5443 GB, free: 7.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.6272, allocations: 64.41 kB / 0.5443 GB, free: 7.859 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/0.6278, allocations: 0.7086 MB / 0.545 GB, free: 7.242 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.6279, allocations: 50.55 kB / 0.5451 GB, free: 7.188 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.6281, allocations: 0.6657 MB / 0.5457 GB, free: 6.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.6283, allocations: 429.5 kB / 0.5461 GB, free: 6.191 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003312/0.6286, allocations: 298 kB / 0.5464 GB, free: 5.926 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.6287, allocations: 352.3 kB / 0.5467 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.6294, allocations: 483.8 kB / 0.5472 GB, free: 5.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008442/0.6302, allocations: 0.9814 MB / 0.5482 GB, free: 4.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.6318, allocations: 1.578 MB / 0.5497 GB, free: 2.312 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.6318, allocations: 4 kB / 0.5497 GB, free: 2.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004769/0.6366, allocations: 1.992 MB / 0.5516 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6366, allocations: 12 kB / 0.5517 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.6366, allocations: 16 kB / 0.5517 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/0.6392, allocations: 437.8 kB / 0.5521 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.6405, allocations: 385.9 kB / 0.5525 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005762/0.6462, allocations: 3.607 MB / 0.556 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.6473, allocations: 58.47 kB / 0.556 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.6475, allocations: 87.27 kB / 0.5561 GB, free: 12.16 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.000593/0.6481, allocations: 315 kB / 0.5564 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.6484, allocations: 103.3 kB / 0.5565 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005751/0.6541, allocations: 1.798 MB / 0.5583 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.6542, allocations: 15.94 kB / 0.5583 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.6542, allocations: 0 / 0.5583 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.6542, allocations: 6.094 kB / 0.5583 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.6559, allocations: 1.004 MB / 0.5593 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6559, allocations: 4.688 kB / 0.5593 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009334/0.6569, allocations: 226.7 kB / 0.5595 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/0.6595, allocations: 424.3 kB / 0.5599 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.6596, allocations: 43.17 kB / 0.5599 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005332/0.6649, allocations: 3.504 MB / 0.5634 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6649, allocations: 4.031 kB / 0.5634 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006245/0.6712, allocations: 2.347 MB / 0.5657 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006263/0.6718, allocations: 213.2 kB / 0.5659 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.6721, allocations: 20 kB / 0.5659 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007512/0.6728, allocations: 25.83 kB / 0.5659 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.6731, allocations: 116.8 kB / 0.566 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.6732, allocations: 55.39 kB / 0.5661 GB, free: 2.801 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006579/0.6739, allocations: 449 kB / 0.5665 GB, free: 2.426 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6739, allocations: 0 / 0.5665 GB, free: 2.426 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002794/0.6766, allocations: 0.8366 MB / 0.5673 GB, free: 1.605 MB / 462.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.00228/0.6789, allocations: 0.9505 MB / 0.5682 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.682, allocations: 1.515 MB / 0.5697 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.682, allocations: 0 / 0.5697 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.6836, allocations: 0.8591 MB / 0.5706 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.6848, allocations: 237.5 kB / 0.5708 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.6893, allocations: 2.43 MB / 0.5732 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.6899, allocations: 0.5371 MB / 0.5737 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009951/0.6909, allocations: 296.6 kB / 0.574 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/0.6914, allocations: 180.4 kB / 0.5741 GB, free: 10.57 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6914, allocations: 0 / 0.5741 GB, free: 10.57 MB / 478.1 MB Notification: Performance of Templates: time 0.04654/0.7379, allocations: 28.65 MB / 0.6021 GB, free: 14.09 MB / 0.4982 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.82522932998836] Failed to read output from testmodel.py, exit status != 0: 0.746592112001963 0.760258116 0.179631051 Calling exit ...