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.001321/0.001321, allocations: 110.5 kB / 19.69 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.001508/0.001508, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.1395/0.1395, allocations: 23.9 MB / 337.1 MB, free: 11.19 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.002035/0.002035, allocations: 71.88 kB / 472.5 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3311, allocations: 59.87 MB / 0.5199 GB, free: 9.879 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.04121/0.3723, allocations: 27.77 MB / 0.547 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02609/0.3984, allocations: 19.61 MB / 0.5661 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.3997, allocations: 19.81 kB / 0.5662 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.401, allocations: 422.8 kB / 0.5666 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005298/0.4063, allocations: 1.669 MB / 0.5682 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007255/0.4135, allocations: 2.544 MB / 0.5707 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003436/0.4169, allocations: 1.981 MB / 0.5726 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.4184, allocations: 0.9237 MB / 0.5735 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.4198, allocations: 1.013 MB / 0.5745 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.4216, allocations: 1.141 MB / 0.5756 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.422, allocations: 172 kB / 0.5758 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007257/0.4292, allocations: 2.184 MB / 0.5779 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006157/0.4298, allocations: 438.7 kB / 0.5783 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.431, allocations: 0.8557 MB / 0.5792 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.4419, allocations: 4.253 MB / 0.5833 GB, free: 9.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4419, allocations: 0 / 0.5833 GB, free: 9.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4419, allocations: 0 / 0.5833 GB, free: 9.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.383e-05/0.442, allocations: 0 / 0.5833 GB, free: 9.039 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.004891/0.4469, allocations: 2.166 MB / 0.5854 GB, free: 6.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4469, allocations: 8.031 kB / 0.5854 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.4485, allocations: 343.5 kB / 0.5858 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.4501, allocations: 0.7652 MB / 0.5865 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.4503, allocations: 206 kB / 0.5867 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.4505, allocations: 136.3 kB / 0.5868 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.4536, allocations: 1.724 MB / 0.5885 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.4536, allocations: 4 kB / 0.5885 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.4537, allocations: 52 kB / 0.5886 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.4538, allocations: 32 kB / 0.5886 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.4575, allocations: 2.2 MB / 0.5908 GB, free: 1.277 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.01004/0.4675, allocations: 5.497 MB / 0.5961 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.4727, allocations: 2.758 MB / 0.5988 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.474, allocations: 0.7348 MB / 0.5995 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009088/0.4831, allocations: 4 MB / 0.6034 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.4832, allocations: 47.5 kB / 0.6035 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006705/0.4838, allocations: 155.1 kB / 0.6036 GB, free: 3.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.887e-06/0.4838, allocations: 0 / 0.6036 GB, free: 3.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01799/0.5018, allocations: 4.287 MB / 0.6078 GB, free: 15.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.5019, allocations: 60.41 kB / 0.6079 GB, free: 15.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5029, allocations: 0.7316 MB / 0.6086 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.5031, allocations: 45.7 kB / 0.6086 GB, free: 14.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005228/0.5036, allocations: 0.6561 MB / 0.6093 GB, free: 13.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.504, allocations: 436.3 kB / 0.6097 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/0.5044, allocations: 291.5 kB / 0.61 GB, free: 13.24 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5046, allocations: 357.9 kB / 0.6103 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008858/0.5055, allocations: 479.8 kB / 0.6108 GB, free: 12.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.5069, allocations: 0.984 MB / 0.6117 GB, free: 11.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.5093, allocations: 1.577 MB / 0.6133 GB, free: 9.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.5093, allocations: 4 kB / 0.6133 GB, free: 9.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005963/0.5153, allocations: 1.99 MB / 0.6152 GB, free: 7.383 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.5153, allocations: 12.94 kB / 0.6152 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.5154, allocations: 16 kB / 0.6152 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/0.5181, allocations: 446.1 kB / 0.6157 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.5195, allocations: 375.4 kB / 0.616 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006054/0.5255, allocations: 3.667 MB / 0.6196 GB, free: 2.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.5268, allocations: 59.98 kB / 0.6197 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.527, allocations: 87.97 kB / 0.6198 GB, free: 2.508 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.000642/0.5276, allocations: 309.8 kB / 0.62 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.5279, allocations: 115.2 kB / 0.6202 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005752/0.5336, allocations: 1.803 MB / 0.6219 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.5337, allocations: 16.03 kB / 0.6219 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5337, allocations: 0 / 0.6219 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.5337, allocations: 3.984 kB / 0.6219 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.5359, allocations: 1.31 MB / 0.6232 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.536, allocations: 4 kB / 0.6232 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/0.5369, allocations: 227.6 kB / 0.6234 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/0.5395, allocations: 422.2 kB / 0.6238 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.5397, allocations: 47.97 kB / 0.6239 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005512/0.5452, allocations: 3.565 MB / 0.6274 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5452, allocations: 8 kB / 0.6274 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006552/0.5518, allocations: 2.337 MB / 0.6297 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000731/0.5525, allocations: 231.1 kB / 0.6299 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.5527, allocations: 24 kB / 0.6299 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.5533, allocations: 31.92 kB / 0.6299 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/0.5536, allocations: 112.7 kB / 0.63 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.5537, allocations: 51.97 kB / 0.6301 GB, free: 7.555 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006691/0.5544, allocations: 475 kB / 0.6305 GB, free: 7.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5544, allocations: 0 / 0.6305 GB, free: 7.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002705/0.5571, allocations: 0.8376 MB / 0.6314 GB, free: 6.25 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.00206/0.5591, allocations: 0.9419 MB / 0.6323 GB, free: 5.297 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.5623, allocations: 1.515 MB / 0.6338 GB, free: 3.754 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5623, allocations: 0 / 0.6338 GB, free: 3.754 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.5639, allocations: 0.8676 MB / 0.6346 GB, free: 2.859 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.5652, allocations: 246.2 kB / 0.6348 GB, free: 2.629 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.5699, allocations: 2.478 MB / 0.6373 GB, free: 108 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008803/0.5708, allocations: 1.121 MB / 0.6384 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.5714, allocations: 239.3 kB / 0.6386 GB, free: 14.71 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5714, allocations: 0 / 0.6386 GB, free: 14.71 MB / 494.1 MB Notification: Performance of Templates: time 0.05284/0.6243, allocations: 37.26 MB / 0.675 GB, free: 9.461 MB / 0.5137 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.248533809004584] Failed to read output from testmodel.py, exit status != 0: 0.6341626720095519 0.649783028 0.20433316399999996 Calling exit ...