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.001454/0.001454, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001594/0.001594, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1509/0.1509, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.002879/0.002879, allocations: 63.91 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3698, allocations: 59.86 MB / 0.5197 GB, free: 9.82 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.07011/0.4399, allocations: 26.89 MB / 0.546 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02435/0.4643, allocations: 17.17 MB / 0.5628 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.4656, allocations: 27.75 kB / 0.5628 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.4668, allocations: 382.6 kB / 0.5632 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.4721, allocations: 1.661 MB / 0.5648 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007591/0.4796, allocations: 2.532 MB / 0.5673 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004313/0.484, allocations: 1.981 MB / 0.5692 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.4858, allocations: 0.9353 MB / 0.5701 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.4874, allocations: 1.017 MB / 0.5711 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.4892, allocations: 1.133 MB / 0.5722 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.4895, allocations: 176 kB / 0.5724 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007498/0.497, allocations: 2.102 MB / 0.5744 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006918/0.4977, allocations: 430.7 kB / 0.5748 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.4989, allocations: 0.7393 MB / 0.5756 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.5096, allocations: 4.234 MB / 0.5797 GB, free: 12.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5096, allocations: 3.938 kB / 0.5797 GB, free: 12.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5096, allocations: 0 / 0.5797 GB, free: 12.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.442e-05/0.5096, allocations: 0 / 0.5797 GB, free: 12.41 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.005109/0.5147, allocations: 2.155 MB / 0.5818 GB, free: 10.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5148, allocations: 12.02 kB / 0.5818 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.5165, allocations: 339.3 kB / 0.5821 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.5182, allocations: 0.7574 MB / 0.5829 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.5184, allocations: 214 kB / 0.5831 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/0.5187, allocations: 140.3 kB / 0.5832 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/0.522, allocations: 1.724 MB / 0.5849 GB, free: 6.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.522, allocations: 4 kB / 0.5849 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.5222, allocations: 56 kB / 0.585 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.5222, allocations: 32 kB / 0.585 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.5262, allocations: 2.173 MB / 0.5871 GB, free: 4.68 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.01022/0.5364, allocations: 4.433 MB / 0.5914 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005691/0.5421, allocations: 2.698 MB / 0.5941 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.5436, allocations: 0.7231 MB / 0.5948 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009807/0.5534, allocations: 3.79 MB / 0.5985 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.5534, allocations: 47.56 kB / 0.5985 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007306/0.5542, allocations: 139.2 kB / 0.5987 GB, free: 8.723 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 4.018e-06/0.5542, allocations: 3.938 kB / 0.5987 GB, free: 8.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.02002/0.5742, allocations: 4.273 MB / 0.6028 GB, free: 4.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.5742, allocations: 68.39 kB / 0.6029 GB, free: 4.332 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.5753, allocations: 0.7113 MB / 0.6036 GB, free: 3.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.5755, allocations: 49.7 kB / 0.6036 GB, free: 3.555 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/0.5761, allocations: 0.6638 MB / 0.6043 GB, free: 2.883 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/0.5766, allocations: 428.4 kB / 0.6047 GB, free: 2.461 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.577, allocations: 295.4 kB / 0.605 GB, free: 2.164 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5772, allocations: 353.9 kB / 0.6053 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008954/0.5781, allocations: 479.8 kB / 0.6058 GB, free: 1.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.5796, allocations: 0.9801 MB / 0.6067 GB, free: 140 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.5823, allocations: 1.581 MB / 0.6083 GB, free: 14.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.5823, allocations: 4 kB / 0.6083 GB, free: 14.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006635/0.5889, allocations: 1.987 MB / 0.6102 GB, free: 12.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.5889, allocations: 12 kB / 0.6102 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.589, allocations: 16 kB / 0.6103 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003146/0.5921, allocations: 446.7 kB / 0.6107 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.5937, allocations: 375.4 kB / 0.611 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006384/0.6, allocations: 3.598 MB / 0.6146 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.6012, allocations: 59.94 kB / 0.6146 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.6014, allocations: 87.97 kB / 0.6147 GB, free: 7.531 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.0005898/0.602, allocations: 313.2 kB / 0.615 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.6022, allocations: 107.4 kB / 0.6151 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006597/0.6088, allocations: 1.799 MB / 0.6168 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.6089, allocations: 15.94 kB / 0.6169 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6089, allocations: 0 / 0.6169 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.6089, allocations: 7.969 kB / 0.6169 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.6107, allocations: 1.002 MB / 0.6179 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6107, allocations: 128 / 0.6179 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009888/0.6117, allocations: 231.7 kB / 0.6181 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.6148, allocations: 426.1 kB / 0.6185 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.6149, allocations: 43.98 kB / 0.6185 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005774/0.6207, allocations: 3.488 MB / 0.6219 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6207, allocations: 4.031 kB / 0.6219 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006967/0.6276, allocations: 2.337 MB / 0.6242 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006413/0.6283, allocations: 223.2 kB / 0.6244 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.6284, allocations: 20 kB / 0.6244 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.6292, allocations: 24 kB / 0.6245 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.6294, allocations: 116.7 kB / 0.6246 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.6296, allocations: 51.97 kB / 0.6246 GB, free: 13.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006154/0.6302, allocations: 447 kB / 0.6251 GB, free: 12.58 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6302, allocations: 4 kB / 0.6251 GB, free: 12.58 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002444/0.6326, allocations: 0.8375 MB / 0.6259 GB, free: 11.74 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.001809/0.6344, allocations: 0.9406 MB / 0.6268 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002954/0.6374, allocations: 1.516 MB / 0.6283 GB, free: 9.246 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6374, allocations: 0 / 0.6283 GB, free: 9.246 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.6389, allocations: 0.8552 MB / 0.6291 GB, free: 8.363 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.6401, allocations: 239.2 kB / 0.6293 GB, free: 8.137 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.6452, allocations: 2.437 MB / 0.6317 GB, free: 5.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.6458, allocations: 0.5371 MB / 0.6322 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001061/0.6469, allocations: 296.5 kB / 0.6325 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.6473, allocations: 179.3 kB / 0.6327 GB, free: 4.613 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6473, allocations: 4 kB / 0.6327 GB, free: 4.609 MB / 478.1 MB Notification: Performance of Templates: time 0.04877/0.6961, allocations: 30.84 MB / 0.6628 GB, free: 5.969 MB / 0.4981 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 gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.244117344991537] Failed to read output from testmodel.py, exit status != 0: 0.7074231150036212 0.719551552 0.20668828900000003 Calling exit ...