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.001363/0.001363, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001453/0.001453, allocations: 217.7 kB / 22.99 MB, free: 4.953 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.426/1.426, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1354/0.1354, allocations: 23.92 MB / 337.1 MB, free: 10.94 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.00208/0.00208, allocations: 71.88 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3498, allocations: 59.87 MB / 0.5198 GB, free: 9.723 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.07155/0.4214, allocations: 26.98 MB / 0.5462 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02441/0.4458, allocations: 17.18 MB / 0.5629 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.4473, allocations: 19.81 kB / 0.563 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.4489, allocations: 378.8 kB / 0.5633 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005996/0.4549, allocations: 1.669 MB / 0.565 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007746/0.4626, allocations: 2.54 MB / 0.5674 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003071/0.4657, allocations: 1.977 MB / 0.5694 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.4669, allocations: 0.9276 MB / 0.5703 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.4681, allocations: 1.013 MB / 0.5713 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.4697, allocations: 1.145 MB / 0.5724 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.4699, allocations: 172 kB / 0.5725 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005903/0.4759, allocations: 2.098 MB / 0.5746 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005071/0.4764, allocations: 438.7 kB / 0.575 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008845/0.4772, allocations: 0.7276 MB / 0.5757 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00955/0.4868, allocations: 4.237 MB / 0.5799 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4868, allocations: 4 kB / 0.5799 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4868, allocations: 0 / 0.5799 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.425e-05/0.4868, allocations: 0 / 0.5799 GB, free: 12.26 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.00474/0.4916, allocations: 2.159 MB / 0.582 GB, free: 10.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4916, allocations: 8.031 kB / 0.582 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.4932, allocations: 339.5 kB / 0.5823 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.4948, allocations: 0.7653 MB / 0.583 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.495, allocations: 210 kB / 0.5833 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.4953, allocations: 136.3 kB / 0.5834 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.4982, allocations: 1.728 MB / 0.5851 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.4982, allocations: 0 / 0.5851 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.4983, allocations: 52 kB / 0.5851 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.4984, allocations: 35.94 kB / 0.5852 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003496/0.5019, allocations: 2.173 MB / 0.5873 GB, free: 4.527 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.009107/0.511, allocations: 4.421 MB / 0.5916 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005114/0.5161, allocations: 2.711 MB / 0.5942 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.5174, allocations: 0.7348 MB / 0.595 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008588/0.526, allocations: 3.782 MB / 0.5986 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.526, allocations: 43.56 kB / 0.5987 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006166/0.5266, allocations: 135.2 kB / 0.5988 GB, free: 8.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.046e-06/0.5266, allocations: 0 / 0.5988 GB, free: 8.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01676/0.5434, allocations: 4.287 MB / 0.603 GB, free: 4.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.5434, allocations: 64.41 kB / 0.6031 GB, free: 4.176 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/0.5444, allocations: 0.7113 MB / 0.6038 GB, free: 3.453 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.5445, allocations: 45.7 kB / 0.6038 GB, free: 3.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.545, allocations: 0.6599 MB / 0.6045 GB, free: 2.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.5455, allocations: 436.4 kB / 0.6049 GB, free: 2.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.5459, allocations: 295.4 kB / 0.6051 GB, free: 2.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5461, allocations: 349.9 kB / 0.6055 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008726/0.547, allocations: 479.8 kB / 0.6059 GB, free: 1.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.5483, allocations: 0.9841 MB / 0.6069 GB, free: 15.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.5507, allocations: 1.581 MB / 0.6084 GB, free: 14.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.5507, allocations: 4 kB / 0.6084 GB, free: 14.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005578/0.5563, allocations: 1.983 MB / 0.6104 GB, free: 12.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5563, allocations: 16 kB / 0.6104 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.5563, allocations: 16 kB / 0.6104 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/0.5588, allocations: 442.1 kB / 0.6108 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.5601, allocations: 371.5 kB / 0.6112 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.5657, allocations: 3.602 MB / 0.6147 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.567, allocations: 51.94 kB / 0.6148 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.5671, allocations: 91.97 kB / 0.6148 GB, free: 7.383 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.0006037/0.5677, allocations: 317.3 kB / 0.6151 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.568, allocations: 115.2 kB / 0.6153 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0055/0.5735, allocations: 1.787 MB / 0.617 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.5736, allocations: 15.94 kB / 0.617 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5736, allocations: 0 / 0.617 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.5736, allocations: 7.969 kB / 0.617 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.5755, allocations: 1.003 MB / 0.618 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.5755, allocations: 4 kB / 0.618 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009143/0.5765, allocations: 231.7 kB / 0.6182 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/0.5788, allocations: 426.2 kB / 0.6186 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.579, allocations: 35.98 kB / 0.6187 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/0.5842, allocations: 3.496 MB / 0.6221 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5842, allocations: 3.984 kB / 0.6221 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006273/0.5904, allocations: 2.341 MB / 0.6244 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006983/0.5911, allocations: 211.2 kB / 0.6246 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.5913, allocations: 31.97 kB / 0.6246 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.5919, allocations: 28 kB / 0.6246 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.5921, allocations: 112.7 kB / 0.6247 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5922, allocations: 51.97 kB / 0.6248 GB, free: 12.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005727/0.5928, allocations: 447 kB / 0.6252 GB, free: 12.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5928, allocations: 0 / 0.6252 GB, free: 12.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002479/0.5953, allocations: 0.8376 MB / 0.626 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.001844/0.5971, allocations: 0.9489 MB / 0.627 GB, free: 10.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003067/0.6002, allocations: 1.516 MB / 0.6284 GB, free: 9.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6002, allocations: 0 / 0.6284 GB, free: 9.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.6017, allocations: 0.8589 MB / 0.6293 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.603, allocations: 248.8 kB / 0.6295 GB, free: 7.973 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.6074, allocations: 2.455 MB / 0.6319 GB, free: 5.473 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.608, allocations: 0.5371 MB / 0.6324 GB, free: 4.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/0.6087, allocations: 231.3 kB / 0.6327 GB, free: 4.668 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6087, allocations: 0 / 0.6327 GB, free: 4.668 MB / 478.1 MB Notification: Performance of Templates: time 0.04984/0.6585, allocations: 37.69 MB / 0.6695 GB, free: 14.98 MB / 0.5137 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: 10.540537940978538] Failed to read output from testmodel.py, exit status != 0: 0.6677092100144364 0.683051685 0.192922536 Calling exit ...