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.001869/0.001869, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002841/0.002841, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.1457/0.1457, allocations: 17.38 MB / 276.9 MB, free: 11.68 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.792e-05, allocations: 8.781 kB / 352.7 MB, free: 10.34 MB / 282.7 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.04116/0.04119, allocations: 28.26 MB / 381 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02987/0.07106, allocations: 19.55 MB / 400.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009818/0.07204, allocations: 23.81 kB / 400.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.07346, allocations: 381 kB / 400.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005039/0.0785, allocations: 1.729 MB / 402.6 MB, free: 8.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007576/0.08607, allocations: 2.605 MB / 405.2 MB, free: 5.828 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003561/0.08963, allocations: 2.043 MB / 407.3 MB, free: 3.777 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.09151, allocations: 0.9476 MB / 408.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.09355, allocations: 1.392 MB / 409.6 MB, free: 1.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.09531, allocations: 0.9432 MB / 410.6 MB, free: 476 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004301/0.09574, allocations: 172 kB / 410.7 MB, free: 304 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1465/0.2422, allocations: 2.067 MB / 412.8 MB, free: 36.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006846/0.2429, allocations: 443.6 kB / 413.2 MB, free: 36.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.2442, allocations: 0.6374 MB / 413.9 MB, free: 36.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.2545, allocations: 4.516 MB / 418.4 MB, free: 36.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2545, allocations: 4.766 kB / 418.4 MB, free: 36.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2545, allocations: 1.156 kB / 418.4 MB, free: 36.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.125e-05/0.2546, allocations: 0 / 418.4 MB, free: 36.61 MB / 330.7 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.005265/0.2599, allocations: 2.343 MB / 420.7 MB, free: 35.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2599, allocations: 11.59 kB / 420.7 MB, free: 35.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.2619, allocations: 0.5516 MB / 421.3 MB, free: 35.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.2635, allocations: 0.7803 MB / 422.1 MB, free: 35.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.2636, allocations: 203.8 kB / 422.3 MB, free: 34.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.2639, allocations: 144.7 kB / 422.4 MB, free: 34.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.2664, allocations: 1.745 MB / 424.2 MB, free: 34.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.2664, allocations: 192 / 424.2 MB, free: 34.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.2666, allocations: 57 kB / 424.2 MB, free: 34.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.2666, allocations: 36.09 kB / 424.2 MB, free: 34.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.2697, allocations: 2.107 MB / 426.4 MB, free: 34.77 MB / 330.7 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.00908/0.2788, allocations: 5.07 MB / 431.4 MB, free: 32.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004849/0.2837, allocations: 2.646 MB / 434.1 MB, free: 31.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.2853, allocations: 0.6867 MB / 434.8 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008539/0.2938, allocations: 4.014 MB / 438.8 MB, free: 28.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2938, allocations: 47.16 kB / 438.8 MB, free: 28.87 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006269/0.2945, allocations: 141.1 kB / 439 MB, free: 28.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 2.926e-06/0.2945, allocations: 0 / 439 MB, free: 28.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.0165/0.311, allocations: 4.277 MB / 443.2 MB, free: 24.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.311, allocations: 67.94 kB / 443.3 MB, free: 24.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.3118, allocations: 0.9012 MB / 444.2 MB, free: 23.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/0.3119, allocations: 45.7 kB / 444.2 MB, free: 23.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.3122, allocations: 0.7476 MB / 445 MB, free: 22.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.3124, allocations: 445 kB / 445.4 MB, free: 22.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.3128, allocations: 337.1 kB / 445.8 MB, free: 21.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3129, allocations: 0.5394 MB / 446.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006504/0.3136, allocations: 466.5 kB / 446.8 MB, free: 20.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009298/0.3145, allocations: 1.213 MB / 448 MB, free: 19.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.3163, allocations: 1.817 MB / 449.8 MB, free: 17.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.3163, allocations: 7.375 kB / 449.8 MB, free: 17.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005101/0.3214, allocations: 2.028 MB / 451.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3214, allocations: 15.94 kB / 451.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.3214, allocations: 16.77 kB / 451.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003687/0.3251, allocations: 0.5712 MB / 452.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.3264, allocations: 371 kB / 452.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004851/0.3312, allocations: 4.83 MB / 457.6 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.3327, allocations: 48 kB / 457.7 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.3329, allocations: 91.97 kB / 457.7 MB, free: 9.352 MB / 330.7 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.0005872/0.3335, allocations: 357 kB / 458.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.3338, allocations: 146.6 kB / 458.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004921/0.3387, allocations: 1.764 MB / 460 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3387, allocations: 12 kB / 460 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3387, allocations: 3 kB / 460 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.3387, allocations: 7.969 kB / 460 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3405, allocations: 1.19 MB / 461.2 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3405, allocations: 0 / 461.2 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008536/0.3413, allocations: 230.3 kB / 461.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003634/0.345, allocations: 0.5414 MB / 462 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/0.3451, allocations: 50.62 kB / 462 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/0.3494, allocations: 4.722 MB / 466.8 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3494, allocations: 7.281 kB / 466.8 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006717/0.3562, allocations: 2.374 MB / 469.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007868/0.3569, allocations: 211.1 kB / 469.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.3571, allocations: 23.94 kB / 469.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/0.3578, allocations: 24 kB / 469.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/0.3581, allocations: 117.5 kB / 469.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.3582, allocations: 58.62 kB / 469.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008145/0.359, allocations: 0.5068 MB / 470.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.359, allocations: 0 / 470.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003157/0.3622, allocations: 0.8376 MB / 470.9 MB, free: 12.03 MB / 346.7 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.002532/0.3647, allocations: 0.9807 MB / 471.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003357/0.3681, allocations: 1.706 MB / 473.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3681, allocations: 0 / 473.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.3698, allocations: 1.019 MB / 474.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.3712, allocations: 273.2 kB / 474.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/0.3759, allocations: 2.371 MB / 477.2 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.3766, allocations: 0.533 MB / 477.8 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.3776, allocations: 286.9 kB / 478.1 MB, free: 5.113 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/0.378, allocations: 183 kB / 478.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.744e-06/0.378, allocations: 0.875 kB / 478.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of Templates: time 0.05235/0.4304, allocations: 29.04 MB / 0.4954 GB, free: 8.918 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.186601808993146]