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.001331/0.001331, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.00139/0.00139, allocations: 162.5 kB / 23.01 MB, free: 4.945 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.345/1.345, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] 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.1236/0.1236, allocations: 17.44 MB / 277.2 MB, free: 15.16 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.002069/0.002069, allocations: 59.91 kB / 412.6 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1093, allocations: 59.88 MB / 472.5 MB, free: 9.559 MB / 446.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.4033/0.5126, allocations: 27.02 MB / 499.5 MB, free: 38.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.5271, allocations: 17.17 MB / 0.5045 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.5277, allocations: 26.38 kB / 0.5046 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008411/0.5286, allocations: 381.6 kB / 0.5049 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.5317, allocations: 1.664 MB / 0.5065 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004828/0.5365, allocations: 2.533 MB / 0.509 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001688/0.5382, allocations: 1.971 MB / 0.5109 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.539, allocations: 0.9242 MB / 0.5118 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008346/0.5398, allocations: 1.013 MB / 0.5128 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.541, allocations: 1.023 MB / 0.5138 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.5413, allocations: 174.4 kB / 0.514 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004484/0.5458, allocations: 2.043 MB / 0.516 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.5461, allocations: 441 kB / 0.5164 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006453/0.5467, allocations: 0.7355 MB / 0.5171 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005202/0.5519, allocations: 4.236 MB / 0.5213 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5519, allocations: 0 / 0.5213 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.552, allocations: 1.219 kB / 0.5213 GB, free: 21.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.552, allocations: 0 / 0.5213 GB, free: 21.83 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.003446/0.5554, allocations: 2.159 MB / 0.5234 GB, free: 20.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.5554, allocations: 8.469 kB / 0.5234 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.5568, allocations: 339.5 kB / 0.5237 GB, free: 20.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.5579, allocations: 0.7681 MB / 0.5245 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.558, allocations: 210.9 kB / 0.5247 GB, free: 19.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.5582, allocations: 137 kB / 0.5248 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.5604, allocations: 1.725 MB / 0.5265 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.5605, allocations: 3.938 kB / 0.5265 GB, free: 19.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.5606, allocations: 56 kB / 0.5265 GB, free: 19.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.5606, allocations: 31.66 kB / 0.5266 GB, free: 19.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.5634, allocations: 2.171 MB / 0.5287 GB, free: 18.41 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.006687/0.5701, allocations: 4.432 MB / 0.533 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/0.5743, allocations: 2.7 MB / 0.5357 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/0.5752, allocations: 0.7364 MB / 0.5364 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006529/0.5818, allocations: 3.78 MB / 0.5401 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.5818, allocations: 48.11 kB / 0.5401 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004814/0.5823, allocations: 138 kB / 0.5402 GB, free: 11.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.465e-06/0.5823, allocations: 4 kB / 0.5402 GB, free: 11.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01536/0.5976, allocations: 4.278 MB / 0.5444 GB, free: 7.617 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.5976, allocations: 64.41 kB / 0.5445 GB, free: 7.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/0.5983, allocations: 0.7088 MB / 0.5452 GB, free: 6.926 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/0.5984, allocations: 53.64 kB / 0.5452 GB, free: 6.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.5987, allocations: 0.6661 MB / 0.5459 GB, free: 6.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.5989, allocations: 430 kB / 0.5463 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.5992, allocations: 293.9 kB / 0.5466 GB, free: 5.609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.5993, allocations: 352.5 kB / 0.5469 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007422/0.6, allocations: 479.1 kB / 0.5474 GB, free: 4.867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008574/0.6009, allocations: 0.986 MB / 0.5483 GB, free: 3.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.6025, allocations: 1.582 MB / 0.5499 GB, free: 1.992 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.6025, allocations: 4 kB / 0.5499 GB, free: 1.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00494/0.6074, allocations: 1.98 MB / 0.5518 GB, free: 264 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6075, allocations: 12.7 kB / 0.5518 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.6075, allocations: 16 kB / 0.5518 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.61, allocations: 441.7 kB / 0.5523 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.6113, allocations: 371 kB / 0.5526 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005621/0.6169, allocations: 3.599 MB / 0.5561 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.6179, allocations: 57.48 kB / 0.5562 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.6181, allocations: 87.72 kB / 0.5563 GB, free: 11.83 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.0005479/0.6186, allocations: 323.1 kB / 0.5566 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.6189, allocations: 107.3 kB / 0.5567 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.6245, allocations: 1.798 MB / 0.5584 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6245, allocations: 15.94 kB / 0.5584 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6246, allocations: 0 / 0.5584 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.6246, allocations: 6.375 kB / 0.5584 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.6262, allocations: 1.009 MB / 0.5594 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6262, allocations: 4.828 kB / 0.5594 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009343/0.6271, allocations: 226.4 kB / 0.5597 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/0.6297, allocations: 420.7 kB / 0.5601 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.6298, allocations: 43.12 kB / 0.5601 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005153/0.635, allocations: 3.504 MB / 0.5635 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.635, allocations: 0 / 0.5635 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/0.6411, allocations: 2.344 MB / 0.5658 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.6416, allocations: 212.9 kB / 0.566 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.6417, allocations: 27.94 kB / 0.566 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.6424, allocations: 26.02 kB / 0.5661 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.6426, allocations: 112.7 kB / 0.5662 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.6427, allocations: 51.12 kB / 0.5662 GB, free: 2.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005761/0.6433, allocations: 449.2 kB / 0.5666 GB, free: 2.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6433, allocations: 0 / 0.5666 GB, free: 2.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00239/0.6457, allocations: 0.8415 MB / 0.5675 GB, free: 1.266 MB / 462.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.001952/0.6476, allocations: 0.9495 MB / 0.5684 GB, free: 404 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002755/0.6504, allocations: 1.514 MB / 0.5699 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6504, allocations: 0 / 0.5699 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.6518, allocations: 0.8591 MB / 0.5707 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6529, allocations: 237.5 kB / 0.5709 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.6572, allocations: 2.434 MB / 0.5733 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.6579, allocations: 0.5293 MB / 0.5738 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009651/0.6588, allocations: 296.6 kB / 0.5741 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.6592, allocations: 180.4 kB / 0.5743 GB, free: 10.28 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6592, allocations: 0 / 0.5743 GB, free: 10.28 MB / 478.1 MB Notification: Performance of Templates: time 0.045/0.7042, allocations: 28.66 MB / 0.6023 GB, free: 13.8 MB / 0.4982 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.756786140031181] Failed to read output from testmodel.py, exit status != 0: 0.7131300700129941 0.726694155 0.171805957 Calling exit ...