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.00139/0.00139, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001578/0.001578, allocations: 219.3 kB / 23 MB, free: 4.914 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.451/1.451, 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.1444/0.1444, allocations: 23.99 MB / 337.2 MB, free: 10.95 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.002104/0.002104, allocations: 71.89 kB / 472.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3162, allocations: 59.89 MB / 0.52 GB, free: 9.727 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.07327/0.3895, allocations: 27.06 MB / 0.5464 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02618/0.4157, allocations: 17.17 MB / 0.5631 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.4171, allocations: 23.81 kB / 0.5632 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.4186, allocations: 379.1 kB / 0.5635 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.4247, allocations: 1.661 MB / 0.5651 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00769/0.4324, allocations: 2.542 MB / 0.5676 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.4357, allocations: 1.977 MB / 0.5696 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.4371, allocations: 0.9158 MB / 0.5705 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.4384, allocations: 1.017 MB / 0.5714 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.4401, allocations: 1.028 MB / 0.5725 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000335/0.4404, allocations: 176 kB / 0.5726 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006035/0.4465, allocations: 2.051 MB / 0.5746 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005619/0.447, allocations: 434.7 kB / 0.575 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.4481, allocations: 0.7354 MB / 0.5758 GB, free: 480 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009438/0.4575, allocations: 4.237 MB / 0.5799 GB, free: 12.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4575, allocations: 0 / 0.5799 GB, free: 12.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4575, allocations: 0 / 0.5799 GB, free: 12.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.923e-05/0.4576, allocations: 0 / 0.5799 GB, free: 12.21 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.00561/0.4632, allocations: 2.162 MB / 0.582 GB, free: 10.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4633, allocations: 12.03 kB / 0.582 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.4651, allocations: 335.5 kB / 0.5823 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.4669, allocations: 0.7536 MB / 0.5831 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.4671, allocations: 218 kB / 0.5833 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.4675, allocations: 136.3 kB / 0.5834 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003367/0.4709, allocations: 1.728 MB / 0.5851 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.4709, allocations: 0 / 0.5851 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.471, allocations: 56 kB / 0.5852 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.4711, allocations: 35.94 kB / 0.5852 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/0.475, allocations: 2.169 MB / 0.5873 GB, free: 4.484 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.01013/0.4851, allocations: 4.421 MB / 0.5916 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005434/0.4905, allocations: 2.7 MB / 0.5943 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.4919, allocations: 0.7309 MB / 0.595 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008982/0.5009, allocations: 3.782 MB / 0.5987 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.5009, allocations: 39.56 kB / 0.5987 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006322/0.5016, allocations: 147.2 kB / 0.5988 GB, free: 8.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.296e-06/0.5016, allocations: 0 / 0.5988 GB, free: 8.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01717/0.5188, allocations: 4.272 MB / 0.603 GB, free: 4.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.5188, allocations: 64.41 kB / 0.6031 GB, free: 4.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.5198, allocations: 0.7153 MB / 0.6038 GB, free: 3.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.5199, allocations: 45.7 kB / 0.6038 GB, free: 3.375 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.5204, allocations: 0.6716 MB / 0.6045 GB, free: 2.695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.5208, allocations: 424.3 kB / 0.6049 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/0.5212, allocations: 299.4 kB / 0.6052 GB, free: 1.977 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5214, allocations: 345.9 kB / 0.6055 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/0.5223, allocations: 483.8 kB / 0.606 GB, free: 1.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.5236, allocations: 0.984 MB / 0.6069 GB, free: 15.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.526, allocations: 1.585 MB / 0.6085 GB, free: 14.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.526, allocations: 4 kB / 0.6085 GB, free: 14.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005786/0.5318, allocations: 1.979 MB / 0.6104 GB, free: 12.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.5318, allocations: 15.94 kB / 0.6104 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.5318, allocations: 16.91 kB / 0.6104 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00262/0.5345, allocations: 446.1 kB / 0.6109 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.5358, allocations: 375.4 kB / 0.6112 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005764/0.5416, allocations: 3.602 MB / 0.6147 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.5428, allocations: 55.92 kB / 0.6148 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.543, allocations: 87.98 kB / 0.6149 GB, free: 7.344 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.0006285/0.5436, allocations: 326.2 kB / 0.6152 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.5439, allocations: 107.3 kB / 0.6153 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005504/0.5494, allocations: 1.783 MB / 0.617 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.5494, allocations: 15.94 kB / 0.617 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.5494, allocations: 4 kB / 0.617 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.5494, allocations: 3.984 kB / 0.617 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.5513, allocations: 1.011 MB / 0.618 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5513, allocations: 0 / 0.618 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/0.5523, allocations: 227.7 kB / 0.6183 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002445/0.5547, allocations: 418.2 kB / 0.6187 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.5548, allocations: 51.97 kB / 0.6187 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005297/0.5601, allocations: 3.492 MB / 0.6221 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5601, allocations: 0 / 0.6221 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/0.5665, allocations: 2.341 MB / 0.6244 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006589/0.5671, allocations: 211.2 kB / 0.6246 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.5673, allocations: 24 kB / 0.6246 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/0.5679, allocations: 28.12 kB / 0.6246 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/0.5682, allocations: 116.7 kB / 0.6248 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.5683, allocations: 55.97 kB / 0.6248 GB, free: 12.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006298/0.5689, allocations: 451 kB / 0.6252 GB, free: 12.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5689, allocations: 0 / 0.6252 GB, free: 12.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002455/0.5714, allocations: 0.8376 MB / 0.6261 GB, free: 11.55 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.001881/0.5732, allocations: 0.949 MB / 0.627 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.5764, allocations: 1.516 MB / 0.6285 GB, free: 9.051 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5764, allocations: 192 / 0.6285 GB, free: 9.051 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.5779, allocations: 0.855 MB / 0.6293 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.5792, allocations: 241.7 kB / 0.6295 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.5837, allocations: 2.47 MB / 0.6319 GB, free: 5.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.5843, allocations: 0.5293 MB / 0.6325 GB, free: 4.852 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/0.5849, allocations: 235.3 kB / 0.6327 GB, free: 4.621 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5849, allocations: 0 / 0.6327 GB, free: 4.621 MB / 478.1 MB Notification: Performance of Templates: time 0.05046/0.6354, allocations: 37.69 MB / 0.6695 GB, free: 14.94 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.202119343914092] Failed to read output from testmodel.py, exit status != 0: 0.6450440408661962 0.659560072 0.19880799200000002 Calling exit ...