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.001289/0.001289, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00141/0.00141, allocations: 206.9 kB / 22.99 MB, free: 4.957 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1324/0.1324, allocations: 23.92 MB / 337.1 MB, free: 10.93 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.002054/0.002054, allocations: 67.89 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2719, allocations: 59.88 MB / 0.5198 GB, free: 9.738 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.06897/0.3409, allocations: 26.88 MB / 0.5461 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02319/0.3641, allocations: 17.17 MB / 0.5629 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.3653, allocations: 27.81 kB / 0.5629 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3665, allocations: 379.1 kB / 0.5632 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.3716, allocations: 1.657 MB / 0.5649 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007018/0.3787, allocations: 2.536 MB / 0.5673 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0031/0.3818, allocations: 1.981 MB / 0.5693 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.3831, allocations: 0.9354 MB / 0.5702 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.3844, allocations: 1.013 MB / 0.5712 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.3862, allocations: 1.137 MB / 0.5723 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.3867, allocations: 176 kB / 0.5725 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.3924, allocations: 2.102 MB / 0.5745 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006018/0.393, allocations: 438.7 kB / 0.5749 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.3941, allocations: 0.7315 MB / 0.5756 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009159/0.4033, allocations: 4.237 MB / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4033, allocations: 0 / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4033, allocations: 0 / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.376e-05/0.4033, allocations: 0 / 0.5798 GB, free: 12.32 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.004807/0.4081, allocations: 2.162 MB / 0.5819 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4081, allocations: 8.031 kB / 0.5819 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.4098, allocations: 339.5 kB / 0.5822 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.4114, allocations: 0.7613 MB / 0.583 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.4115, allocations: 210 kB / 0.5832 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/0.4118, allocations: 140.3 kB / 0.5833 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.4149, allocations: 1.724 MB / 0.585 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.4149, allocations: 0 / 0.585 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.4151, allocations: 56 kB / 0.585 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.4151, allocations: 32 kB / 0.5851 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/0.4188, allocations: 2.173 MB / 0.5872 GB, free: 4.59 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.00944/0.4282, allocations: 4.429 MB / 0.5915 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005235/0.4334, allocations: 2.704 MB / 0.5942 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.4347, allocations: 0.727 MB / 0.5949 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009152/0.4439, allocations: 3.786 MB / 0.5986 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.4439, allocations: 47.56 kB / 0.5986 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006688/0.4446, allocations: 143.2 kB / 0.5987 GB, free: 8.625 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.817e-06/0.4446, allocations: 0 / 0.5987 GB, free: 8.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01917/0.4638, allocations: 4.268 MB / 0.6029 GB, free: 4.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.4638, allocations: 68.34 kB / 0.603 GB, free: 4.242 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.4647, allocations: 0.7113 MB / 0.6037 GB, free: 3.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.4649, allocations: 45.7 kB / 0.6037 GB, free: 3.469 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.4653, allocations: 0.6716 MB / 0.6044 GB, free: 2.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.4657, allocations: 428.4 kB / 0.6048 GB, free: 2.367 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/0.4662, allocations: 295.4 kB / 0.6051 GB, free: 2.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4664, allocations: 353.9 kB / 0.6054 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008764/0.4672, allocations: 479.8 kB / 0.6059 GB, free: 1.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.4685, allocations: 0.9801 MB / 0.6068 GB, free: 44 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.471, allocations: 1.585 MB / 0.6084 GB, free: 14.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.471, allocations: 4 kB / 0.6084 GB, free: 14.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006349/0.4773, allocations: 1.983 MB / 0.6103 GB, free: 12.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.4774, allocations: 12 kB / 0.6103 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.4774, allocations: 16 kB / 0.6103 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.4804, allocations: 446.7 kB / 0.6107 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.4818, allocations: 371.4 kB / 0.6111 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006/0.4878, allocations: 3.602 MB / 0.6146 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.4891, allocations: 59.88 kB / 0.6147 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.4893, allocations: 87.97 kB / 0.6148 GB, free: 7.441 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.0006233/0.4899, allocations: 313.3 kB / 0.6151 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.4902, allocations: 107.3 kB / 0.6152 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006237/0.4964, allocations: 1.803 MB / 0.6169 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/0.4965, allocations: 15.94 kB / 0.6169 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4965, allocations: 3.938 kB / 0.6169 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.35e-05/0.4965, allocations: 7.969 kB / 0.617 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.4984, allocations: 0.9988 MB / 0.6179 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.4984, allocations: 4.125 kB / 0.6179 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.4994, allocations: 223.8 kB / 0.6181 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00292/0.5023, allocations: 434 kB / 0.6186 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.5025, allocations: 43.98 kB / 0.6186 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005616/0.5081, allocations: 3.488 MB / 0.622 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5081, allocations: 4.031 kB / 0.622 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006754/0.5149, allocations: 2.333 MB / 0.6243 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/0.5156, allocations: 219.2 kB / 0.6245 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.5158, allocations: 20 kB / 0.6245 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/0.5164, allocations: 24 kB / 0.6245 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.5167, allocations: 112.8 kB / 0.6246 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.5168, allocations: 51.97 kB / 0.6247 GB, free: 12.94 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000583/0.5174, allocations: 447 kB / 0.6251 GB, free: 12.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5174, allocations: 7.938 kB / 0.6251 GB, free: 12.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002563/0.52, allocations: 0.8337 MB / 0.6259 GB, free: 11.66 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.001938/0.5219, allocations: 0.949 MB / 0.6269 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002977/0.5249, allocations: 1.512 MB / 0.6283 GB, free: 9.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5249, allocations: 0 / 0.6283 GB, free: 9.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.5264, allocations: 0.8591 MB / 0.6292 GB, free: 8.273 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.5276, allocations: 239.4 kB / 0.6294 GB, free: 8.047 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.532, allocations: 2.434 MB / 0.6318 GB, free: 5.574 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.5326, allocations: 0.5371 MB / 0.6323 GB, free: 4.996 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001023/0.5336, allocations: 296.5 kB / 0.6326 GB, free: 4.703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.5341, allocations: 179.3 kB / 0.6328 GB, free: 4.527 MB / 478.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5341, allocations: 4 kB / 0.6328 GB, free: 4.523 MB / 478.1 MB Notification: Performance of Templates: time 0.04724/0.5813, allocations: 30.84 MB / 0.6629 GB, free: 5.883 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.835387576997164] Failed to read output from testmodel.py, exit status != 0: 0.5906182330072625 0.605203842 0.19865217000000002 Calling exit ...