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.001327/0.001327, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001484/0.001484, allocations: 218.7 kB / 23.01 MB, free: 4.609 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.1356/0.1356, allocations: 23.86 MB / 337 MB, free: 11.21 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.002155/0.002155, allocations: 67.89 kB / 472.4 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2903, allocations: 59.86 MB / 0.5198 GB, free: 9.871 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.03716/0.3274, allocations: 27.67 MB / 0.5468 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.3525, allocations: 19.61 MB / 0.566 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.3538, allocations: 27.75 kB / 0.566 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.3552, allocations: 415 kB / 0.5664 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.3606, allocations: 1.677 MB / 0.568 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007141/0.3678, allocations: 2.53 MB / 0.5705 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.371, allocations: 1.981 MB / 0.5724 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.3724, allocations: 0.9314 MB / 0.5733 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.3739, allocations: 1.017 MB / 0.5743 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.3758, allocations: 1.141 MB / 0.5755 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004235/0.3763, allocations: 176 kB / 0.5756 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006649/0.3829, allocations: 2.184 MB / 0.5778 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006076/0.3835, allocations: 430.7 kB / 0.5782 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.3848, allocations: 0.8596 MB / 0.579 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.395, allocations: 4.249 MB / 0.5832 GB, free: 9.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.395, allocations: 0 / 0.5832 GB, free: 9.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.395, allocations: 0 / 0.5832 GB, free: 9.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.477e-05/0.3951, allocations: 4 kB / 0.5832 GB, free: 9.176 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.005024/0.4001, allocations: 2.155 MB / 0.5853 GB, free: 6.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4001, allocations: 11.97 kB / 0.5853 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.4017, allocations: 347.3 kB / 0.5856 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.4033, allocations: 0.7613 MB / 0.5864 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.4035, allocations: 206 kB / 0.5865 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002909/0.4038, allocations: 148.3 kB / 0.5867 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.4069, allocations: 1.724 MB / 0.5884 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.4069, allocations: 0 / 0.5884 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.407, allocations: 52 kB / 0.5884 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.4071, allocations: 32 kB / 0.5885 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/0.4108, allocations: 2.196 MB / 0.5906 GB, free: 1.418 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.00975/0.4205, allocations: 5.509 MB / 0.596 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005243/0.4257, allocations: 2.754 MB / 0.5987 GB, free: 8.918 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.427, allocations: 0.7387 MB / 0.5994 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008997/0.436, allocations: 3.988 MB / 0.6033 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.4361, allocations: 47.48 kB / 0.6033 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006499/0.4367, allocations: 151.1 kB / 0.6035 GB, free: 3.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 4.959e-06/0.4367, allocations: 3.938 kB / 0.6035 GB, free: 3.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01802/0.4547, allocations: 4.275 MB / 0.6077 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.4548, allocations: 64.41 kB / 0.6077 GB, free: 15.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/0.4558, allocations: 0.7316 MB / 0.6084 GB, free: 14.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/0.4558, allocations: 49.64 kB / 0.6085 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.4563, allocations: 0.6599 MB / 0.6091 GB, free: 14.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.4567, allocations: 432.3 kB / 0.6095 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/0.4572, allocations: 295.4 kB / 0.6098 GB, free: 13.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4573, allocations: 353.9 kB / 0.6102 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008891/0.4582, allocations: 479.8 kB / 0.6106 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.4595, allocations: 0.984 MB / 0.6116 GB, free: 11.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/0.4619, allocations: 1.577 MB / 0.6131 GB, free: 9.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.462, allocations: 8 kB / 0.6131 GB, free: 9.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00586/0.4678, allocations: 1.983 MB / 0.6151 GB, free: 7.531 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.4678, allocations: 12.97 kB / 0.6151 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.4679, allocations: 20 kB / 0.6151 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.4706, allocations: 442 kB / 0.6155 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.4721, allocations: 375.4 kB / 0.6159 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005973/0.478, allocations: 3.675 MB / 0.6195 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.4792, allocations: 48 kB / 0.6195 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.4795, allocations: 91.97 kB / 0.6196 GB, free: 2.656 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.0006729/0.4801, allocations: 313.8 kB / 0.6199 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.4805, allocations: 115.2 kB / 0.62 GB, free: 2.227 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005993/0.4865, allocations: 1.803 MB / 0.6218 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.4865, allocations: 12 kB / 0.6218 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4865, allocations: 0 / 0.6218 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.4865, allocations: 11.91 kB / 0.6218 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.4887, allocations: 1.314 MB / 0.6231 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4887, allocations: 0 / 0.6231 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/0.4897, allocations: 235.6 kB / 0.6233 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/0.4924, allocations: 422.2 kB / 0.6237 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.4926, allocations: 43.91 kB / 0.6237 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005472/0.498, allocations: 3.565 MB / 0.6272 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.498, allocations: 12.03 kB / 0.6272 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006562/0.5046, allocations: 2.333 MB / 0.6295 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.5052, allocations: 227.2 kB / 0.6297 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.5055, allocations: 20 kB / 0.6297 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/0.5062, allocations: 27.94 kB / 0.6298 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.5065, allocations: 112.8 kB / 0.6299 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.5066, allocations: 47.97 kB / 0.6299 GB, free: 7.707 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006838/0.5073, allocations: 483 kB / 0.6304 GB, free: 7.234 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5073, allocations: 0 / 0.6304 GB, free: 7.234 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00251/0.5098, allocations: 0.8415 MB / 0.6312 GB, free: 6.391 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.001944/0.5117, allocations: 0.9419 MB / 0.6321 GB, free: 5.438 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.5148, allocations: 1.515 MB / 0.6336 GB, free: 3.895 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5148, allocations: 3.938 kB / 0.6336 GB, free: 3.891 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.5163, allocations: 0.856 MB / 0.6344 GB, free: 3.008 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.5176, allocations: 245.8 kB / 0.6347 GB, free: 2.777 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.5223, allocations: 2.486 MB / 0.6371 GB, free: 252 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/0.5231, allocations: 1.125 MB / 0.6382 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/0.5237, allocations: 227.3 kB / 0.6384 GB, free: 14.86 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5237, allocations: 4 kB / 0.6384 GB, free: 14.86 MB / 494.1 MB Notification: Performance of Templates: time 0.04951/0.5733, allocations: 37.26 MB / 0.6748 GB, free: 9.602 MB / 0.5138 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: 9.990894251968712] Failed to read output from testmodel.py, exit status != 0: 0.5831078821793199 0.597713196 0.19946177899999995 Calling exit ...