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.00164/0.00164, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001907/0.001907, allocations: 213.9 kB / 22.99 MB, free: 4.41 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1427/0.1427, allocations: 23.89 MB / 337.1 MB, free: 10.95 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.0021/0.0021, allocations: 63.91 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3747, allocations: 59.86 MB / 0.5197 GB, free: 9.773 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.07287/0.4476, allocations: 26.98 MB / 0.5461 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02511/0.4727, allocations: 17.17 MB / 0.5629 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.4742, allocations: 23.81 kB / 0.5629 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.4756, allocations: 383 kB / 0.5633 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005913/0.4815, allocations: 1.665 MB / 0.5649 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007994/0.4895, allocations: 2.54 MB / 0.5674 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003561/0.4931, allocations: 1.977 MB / 0.5693 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.4946, allocations: 0.9275 MB / 0.5702 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.4961, allocations: 1.009 MB / 0.5712 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.498, allocations: 1.149 MB / 0.5723 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.4984, allocations: 172 kB / 0.5725 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006342/0.5047, allocations: 2.102 MB / 0.5745 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006816/0.5054, allocations: 430.8 kB / 0.5749 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.5065, allocations: 0.7315 MB / 0.5756 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.5167, allocations: 4.241 MB / 0.5798 GB, free: 12.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5167, allocations: 0 / 0.5798 GB, free: 12.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5167, allocations: 4 kB / 0.5798 GB, free: 12.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.384e-05/0.5167, allocations: 0 / 0.5798 GB, free: 12.29 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.004643/0.5214, allocations: 2.151 MB / 0.5819 GB, free: 10.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5214, allocations: 12.03 kB / 0.5819 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.523, allocations: 347.3 kB / 0.5822 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.5246, allocations: 0.7535 MB / 0.583 GB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.5248, allocations: 214 kB / 0.5832 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/0.5251, allocations: 136.3 kB / 0.5833 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.5281, allocations: 1.728 MB / 0.585 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.5281, allocations: 0 / 0.585 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.5283, allocations: 48 kB / 0.585 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.5283, allocations: 40 kB / 0.5851 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003685/0.532, allocations: 2.173 MB / 0.5872 GB, free: 4.562 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.009571/0.5415, allocations: 4.429 MB / 0.5915 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005363/0.5469, allocations: 2.7 MB / 0.5942 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.5484, allocations: 0.7348 MB / 0.5949 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009149/0.5575, allocations: 3.79 MB / 0.5986 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.5576, allocations: 43.56 kB / 0.5986 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006266/0.5582, allocations: 139.2 kB / 0.5988 GB, free: 8.598 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.727e-06/0.5582, allocations: 0 / 0.5988 GB, free: 8.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01699/0.5752, allocations: 4.277 MB / 0.6029 GB, free: 4.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.5752, allocations: 64.41 kB / 0.603 GB, free: 4.211 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.5763, allocations: 0.7153 MB / 0.6037 GB, free: 3.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.5764, allocations: 45.7 kB / 0.6037 GB, free: 3.434 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/0.5769, allocations: 0.6638 MB / 0.6044 GB, free: 2.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/0.5774, allocations: 428.4 kB / 0.6048 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/0.5779, allocations: 299.4 kB / 0.6051 GB, free: 2.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.578, allocations: 349.9 kB / 0.6054 GB, free: 1.691 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009141/0.579, allocations: 479.8 kB / 0.6059 GB, free: 1.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.5803, allocations: 0.9879 MB / 0.6068 GB, free: 8 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.5829, allocations: 1.577 MB / 0.6084 GB, free: 14.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.5829, allocations: 8 kB / 0.6084 GB, free: 14.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005732/0.5886, allocations: 1.983 MB / 0.6103 GB, free: 12.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.5886, allocations: 12 kB / 0.6103 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.5887, allocations: 16 kB / 0.6103 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/0.5912, allocations: 442.4 kB / 0.6108 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.5926, allocations: 375.4 kB / 0.6111 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/0.5983, allocations: 3.598 MB / 0.6146 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.5995, allocations: 51.94 kB / 0.6147 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.5996, allocations: 91.97 kB / 0.6148 GB, free: 7.414 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.0006309/0.6003, allocations: 313.3 kB / 0.6151 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.6006, allocations: 111.3 kB / 0.6152 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005489/0.606, allocations: 1.787 MB / 0.6169 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.6061, allocations: 19.97 kB / 0.6169 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6061, allocations: 0 / 0.6169 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.6061, allocations: 11.97 kB / 0.617 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.608, allocations: 1.002 MB / 0.6179 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.608, allocations: 0 / 0.6179 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/0.6089, allocations: 235.8 kB / 0.6182 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/0.6113, allocations: 418.1 kB / 0.6186 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.6115, allocations: 39.98 kB / 0.6186 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005282/0.6168, allocations: 3.496 MB / 0.622 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6168, allocations: 4.031 kB / 0.622 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006239/0.623, allocations: 2.352 MB / 0.6243 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007096/0.6237, allocations: 219.2 kB / 0.6245 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.6239, allocations: 20 kB / 0.6245 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006006/0.6245, allocations: 28 kB / 0.6246 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.6248, allocations: 108.7 kB / 0.6247 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.6249, allocations: 55.97 kB / 0.6247 GB, free: 12.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005959/0.6255, allocations: 447 kB / 0.6251 GB, free: 12.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6255, allocations: 0 / 0.6251 GB, free: 12.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00268/0.6281, allocations: 0.8376 MB / 0.626 GB, free: 11.62 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.00183/0.63, allocations: 0.9451 MB / 0.6269 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.633, allocations: 1.52 MB / 0.6284 GB, free: 9.113 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.633, allocations: 0 / 0.6284 GB, free: 9.113 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.6345, allocations: 0.8516 MB / 0.6292 GB, free: 8.234 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.6357, allocations: 237.2 kB / 0.6294 GB, free: 8.012 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.6403, allocations: 2.466 MB / 0.6318 GB, free: 5.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.6408, allocations: 0.5332 MB / 0.6324 GB, free: 4.926 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/0.6415, allocations: 239.3 kB / 0.6326 GB, free: 4.691 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6415, allocations: 0 / 0.6326 GB, free: 4.691 MB / 478.1 MB Notification: Performance of Templates: time 0.04951/0.691, allocations: 37.69 MB / 0.6694 GB, free: 15.01 MB / 0.5137 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.480209872010164] Failed to read output from testmodel.py, exit status != 0: 0.700468005030416 0.7141577769999999 0.19438908600000002 Calling exit ...