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.001319/0.001319, allocations: 115.9 kB / 17.13 MB, free: 6.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.001344/0.001344, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1343/0.1343, allocations: 23.9 MB / 333.4 MB, free: 1.25 MB / 254.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.002063/0.002063, allocations: 70.52 kB / 467.2 MB, free: 30.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.09026, allocations: 59.85 MB / 0.5147 GB, free: 12.39 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.03996/0.1302, allocations: 27.71 MB / 0.5418 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02477/0.155, allocations: 19.57 MB / 0.5609 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/0.1557, allocations: 23.81 kB / 0.5609 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009828/0.1567, allocations: 413 kB / 0.5613 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.1605, allocations: 1.66 MB / 0.5629 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005842/0.1663, allocations: 2.501 MB / 0.5654 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.1686, allocations: 1.977 MB / 0.5673 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.1698, allocations: 0.9467 MB / 0.5682 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.1709, allocations: 1.017 MB / 0.5692 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.1723, allocations: 1.137 MB / 0.5703 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.1726, allocations: 176 kB / 0.5705 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005022/0.1776, allocations: 2.188 MB / 0.5726 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004615/0.1781, allocations: 434.7 kB / 0.573 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008788/0.179, allocations: 0.8596 MB / 0.5739 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006105/0.1851, allocations: 4.249 MB / 0.578 GB, free: 11.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1851, allocations: 0 / 0.578 GB, free: 11.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1851, allocations: 0 / 0.578 GB, free: 11.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.1851, allocations: 4 kB / 0.578 GB, free: 11.42 MB / 446.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.00426/0.1893, allocations: 2.238 MB / 0.5802 GB, free: 9.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1894, allocations: 8.031 kB / 0.5802 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.1909, allocations: 339.5 kB / 0.5806 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.1923, allocations: 0.823 MB / 0.5814 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.1924, allocations: 154.6 kB / 0.5815 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.1927, allocations: 148.3 kB / 0.5816 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.1957, allocations: 1.724 MB / 0.5833 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.1957, allocations: 0 / 0.5833 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.1959, allocations: 56 kB / 0.5834 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.1959, allocations: 32 kB / 0.5834 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003804/0.1997, allocations: 2.193 MB / 0.5856 GB, free: 3.559 MB / 446.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.2067/0.4064, allocations: 5.546 MB / 0.591 GB, free: 62.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005263/0.4117, allocations: 3.138 MB / 0.594 GB, free: 61.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.4128, allocations: 0.7343 MB / 0.5948 GB, free: 60.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008337/0.4211, allocations: 7.051 MB / 0.6016 GB, free: 55.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4212, allocations: 46.19 kB / 0.6017 GB, free: 55.57 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005678/0.4217, allocations: 148.2 kB / 0.6018 GB, free: 55.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.435e-06/0.4217, allocations: 0 / 0.6018 GB, free: 55.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01716/0.4389, allocations: 4.514 MB / 0.6062 GB, free: 53.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4389, allocations: 63.36 kB / 0.6063 GB, free: 53.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/0.4398, allocations: 0.7354 MB / 0.607 GB, free: 53.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.236e-05/0.4398, allocations: 47.86 kB / 0.6071 GB, free: 53.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.4402, allocations: 0.6595 MB / 0.6077 GB, free: 52.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.4404, allocations: 425.6 kB / 0.6081 GB, free: 52.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.4408, allocations: 295.1 kB / 0.6084 GB, free: 52.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.4409, allocations: 355.5 kB / 0.6087 GB, free: 52.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008396/0.4417, allocations: 476.1 kB / 0.6092 GB, free: 51.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/0.4427, allocations: 0.985 MB / 0.6101 GB, free: 51.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.4445, allocations: 1.582 MB / 0.6117 GB, free: 49.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.4445, allocations: 6.625 kB / 0.6117 GB, free: 49.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005345/0.4499, allocations: 1.989 MB / 0.6136 GB, free: 49.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4499, allocations: 15.72 kB / 0.6137 GB, free: 49.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4499, allocations: 19.66 kB / 0.6137 GB, free: 49.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/0.4524, allocations: 435.6 kB / 0.6141 GB, free: 49.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.4535, allocations: 373.8 kB / 0.6144 GB, free: 49.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/0.4581, allocations: 3.869 MB / 0.6182 GB, free: 45.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/0.459, allocations: 52.78 kB / 0.6183 GB, free: 45.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.4592, allocations: 91.52 kB / 0.6184 GB, free: 45.59 MB / 446.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.000402/0.4596, allocations: 317 kB / 0.6187 GB, free: 45.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.4598, allocations: 108.7 kB / 0.6188 GB, free: 45.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005244/0.465, allocations: 1.8 MB / 0.6205 GB, free: 44.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.465, allocations: 19.75 kB / 0.6205 GB, free: 44.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.465, allocations: 3.969 kB / 0.6205 GB, free: 44.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.4651, allocations: 10.62 kB / 0.6206 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.4664, allocations: 1.341 MB / 0.6219 GB, free: 43.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4664, allocations: 0 / 0.6219 GB, free: 43.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008556/0.4673, allocations: 235 kB / 0.6221 GB, free: 43.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/0.4697, allocations: 416.3 kB / 0.6225 GB, free: 43.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.062e-05/0.4698, allocations: 43.72 kB / 0.6225 GB, free: 43.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.4739, allocations: 3.791 MB / 0.6262 GB, free: 39.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4739, allocations: 7.625 kB / 0.6262 GB, free: 39.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005343/0.4792, allocations: 2.335 MB / 0.6285 GB, free: 38.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.4796, allocations: 295.8 kB / 0.6288 GB, free: 37.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.4797, allocations: 22.78 kB / 0.6288 GB, free: 37.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.4804, allocations: 30.17 kB / 0.6289 GB, free: 37.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.4806, allocations: 114.7 kB / 0.629 GB, free: 37.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.4807, allocations: 49.44 kB / 0.629 GB, free: 37.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004052/0.4811, allocations: 478.2 kB / 0.6295 GB, free: 37.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4811, allocations: 3.781 kB / 0.6295 GB, free: 37.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001937/0.483, allocations: 0.8406 MB / 0.6303 GB, free: 37.36 MB / 446.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.001233/0.4843, allocations: 0.9375 MB / 0.6312 GB, free: 36.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.4864, allocations: 1.59 MB / 0.6328 GB, free: 35.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4864, allocations: 0 / 0.6328 GB, free: 35.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4876, allocations: 0.9324 MB / 0.6337 GB, free: 34.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4886, allocations: 248.8 kB / 0.6339 GB, free: 34.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.4918, allocations: 2.47 MB / 0.6363 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.4922, allocations: 1.121 MB / 0.6374 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.4927, allocations: 236.7 kB / 0.6376 GB, free: 30.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4927, allocations: 0 / 0.6376 GB, free: 30.3 MB / 446.1 MB Notification: Performance of Templates: time 0.0316/0.5243, allocations: 37.26 MB / 0.674 GB, free: 9.922 MB / 462.1 MB " [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: 9.99166649900144] Failed to read output from testmodel.py, exit status != 0: 0.532424623001134 0.546018104 0.358078824 Calling exit ...