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.001294/0.001294, 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.001537/0.001537, allocations: 217.3 kB / 22.99 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1382/0.1382, allocations: 23.88 MB / 337.1 MB, free: 11.08 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.002113/0.002113, allocations: 71.91 kB / 472.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3095, allocations: 59.85 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.07231/0.3818, allocations: 27.05 MB / 0.5462 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02599/0.4078, allocations: 17.18 MB / 0.5629 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.4092, allocations: 27.75 kB / 0.563 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.4109, allocations: 374.6 kB / 0.5633 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.4165, allocations: 1.661 MB / 0.5649 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007656/0.4242, allocations: 2.533 MB / 0.5674 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003344/0.4275, allocations: 1.989 MB / 0.5694 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.4289, allocations: 0.9119 MB / 0.5703 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.4303, allocations: 1.013 MB / 0.5712 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.4319, allocations: 1.024 MB / 0.5722 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.4322, allocations: 176 kB / 0.5724 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006391/0.4386, allocations: 2.055 MB / 0.5744 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005604/0.4392, allocations: 430.8 kB / 0.5748 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.4402, allocations: 0.7315 MB / 0.5755 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.4503, allocations: 4.241 MB / 0.5797 GB, free: 12.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4503, allocations: 0 / 0.5797 GB, free: 12.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4503, allocations: 0 / 0.5797 GB, free: 12.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.155e-05/0.4503, allocations: 0 / 0.5797 GB, free: 12.43 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.004833/0.4552, allocations: 2.155 MB / 0.5818 GB, free: 10.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4552, allocations: 8.031 kB / 0.5818 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.4568, allocations: 339.3 kB / 0.5821 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.4586, allocations: 0.7613 MB / 0.5829 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.4588, allocations: 206 kB / 0.5831 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.4591, allocations: 152.2 kB / 0.5832 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.4621, allocations: 1.721 MB / 0.5849 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.4622, allocations: 3.938 kB / 0.5849 GB, free: 6.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.4623, allocations: 55.98 kB / 0.5849 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.4623, allocations: 32 kB / 0.585 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/0.466, allocations: 2.169 MB / 0.5871 GB, free: 4.703 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.009301/0.4753, allocations: 4.44 MB / 0.5914 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005308/0.4807, allocations: 2.7 MB / 0.5941 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.4821, allocations: 0.7309 MB / 0.5948 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009152/0.4912, allocations: 3.778 MB / 0.5985 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.4913, allocations: 43.56 kB / 0.5985 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006577/0.4919, allocations: 147.2 kB / 0.5986 GB, free: 8.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 4.428e-06/0.4919, allocations: 0 / 0.5986 GB, free: 8.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01755/0.5095, allocations: 4.272 MB / 0.6028 GB, free: 4.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.5095, allocations: 68.34 kB / 0.6029 GB, free: 4.352 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.5105, allocations: 0.7114 MB / 0.6036 GB, free: 3.629 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.5107, allocations: 45.7 kB / 0.6036 GB, free: 3.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.5112, allocations: 0.6677 MB / 0.6043 GB, free: 2.902 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.5117, allocations: 428.4 kB / 0.6047 GB, free: 2.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004351/0.5122, allocations: 299.4 kB / 0.605 GB, free: 2.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.5123, allocations: 349.9 kB / 0.6053 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000898/0.5132, allocations: 475.8 kB / 0.6058 GB, free: 1.367 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.5146, allocations: 0.9918 MB / 0.6067 GB, free: 152 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.5171, allocations: 1.574 MB / 0.6083 GB, free: 14.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.5171, allocations: 4 kB / 0.6083 GB, free: 14.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005829/0.5229, allocations: 1.983 MB / 0.6102 GB, free: 12.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.523, allocations: 12 kB / 0.6102 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.523, allocations: 20.86 kB / 0.6102 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/0.5256, allocations: 442.1 kB / 0.6107 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.527, allocations: 371.4 kB / 0.611 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.5331, allocations: 3.605 MB / 0.6145 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.5342, allocations: 59.92 kB / 0.6146 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.5344, allocations: 95.91 kB / 0.6147 GB, free: 7.547 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.0006503/0.5351, allocations: 316 kB / 0.615 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.5353, allocations: 103.3 kB / 0.6151 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/0.541, allocations: 1.803 MB / 0.6168 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.541, allocations: 15.94 kB / 0.6169 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5411, allocations: 0 / 0.6169 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.5411, allocations: 3.984 kB / 0.6169 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.5429, allocations: 1.006 MB / 0.6178 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5429, allocations: 0 / 0.6178 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/0.5439, allocations: 227.7 kB / 0.6181 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/0.5464, allocations: 426.1 kB / 0.6185 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.5466, allocations: 39.97 kB / 0.6185 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/0.5522, allocations: 3.5 MB / 0.6219 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5522, allocations: 4.031 kB / 0.6219 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006514/0.5587, allocations: 2.337 MB / 0.6242 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.5594, allocations: 215.2 kB / 0.6244 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.5595, allocations: 24 kB / 0.6244 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.5602, allocations: 27.98 kB / 0.6245 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.5605, allocations: 108.8 kB / 0.6246 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.5606, allocations: 59.97 kB / 0.6246 GB, free: 13.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006253/0.5612, allocations: 439 kB / 0.625 GB, free: 12.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5612, allocations: 0 / 0.625 GB, free: 12.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002575/0.5638, allocations: 0.8415 MB / 0.6259 GB, free: 11.77 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.001961/0.5657, allocations: 0.9608 MB / 0.6268 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003195/0.5689, allocations: 1.504 MB / 0.6283 GB, free: 9.262 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5689, allocations: 0 / 0.6283 GB, free: 9.262 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.5706, allocations: 0.8589 MB / 0.6291 GB, free: 8.375 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.5719, allocations: 238.8 kB / 0.6293 GB, free: 8.148 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.5766, allocations: 2.459 MB / 0.6317 GB, free: 5.641 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.5773, allocations: 0.5332 MB / 0.6323 GB, free: 5.066 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/0.5779, allocations: 227.3 kB / 0.6325 GB, free: 4.844 MB / 478.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5779, allocations: 0 / 0.6325 GB, free: 4.844 MB / 478.1 MB Notification: Performance of Templates: time 0.05321/0.6311, allocations: 37.69 MB / 0.6693 GB, free: 15.16 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.20972826005891] Failed to read output from testmodel.py, exit status != 0: 0.6407852433621883 0.655899438 0.202237884 Calling exit ...