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.001457/0.001457, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001477/0.001477, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.423/1.423, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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.1297/0.1297, allocations: 17.37 MB / 276.5 MB, free: 15.3 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: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 411.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.435e-05, allocations: 2.281 kB / 411.9 MB, free: 4.445 MB / 334.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.03669/0.03671, allocations: 27.36 MB / 439.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2049/0.2416, allocations: 17.16 MB / 456.5 MB, free: 31.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009673/0.2425, allocations: 23.09 kB / 456.5 MB, free: 31.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.2436, allocations: 386.2 kB / 456.9 MB, free: 31.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.2484, allocations: 1.725 MB / 458.6 MB, free: 30.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006378/0.2548, allocations: 2.603 MB / 461.2 MB, free: 29.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.2574, allocations: 2.047 MB / 463.2 MB, free: 28.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.2586, allocations: 0.9164 MB / 464.1 MB, free: 28.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.2602, allocations: 1.379 MB / 465.5 MB, free: 27.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.2616, allocations: 0.9295 MB / 466.5 MB, free: 27.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.2619, allocations: 177.9 kB / 466.6 MB, free: 27.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.2679, allocations: 2.069 MB / 468.7 MB, free: 27.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.2684, allocations: 436.6 kB / 469.1 MB, free: 26.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.2694, allocations: 0.6409 MB / 469.8 MB, free: 26.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009295/0.2787, allocations: 4.503 MB / 474.3 MB, free: 24.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.2787, allocations: 2.656 kB / 474.3 MB, free: 24.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2787, allocations: 0 / 474.3 MB, free: 24.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.855e-05/0.2787, allocations: 3.938 kB / 474.3 MB, free: 24.01 MB / 366.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.004466/0.2832, allocations: 2.134 MB / 476.4 MB, free: 22.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2832, allocations: 12.25 kB / 476.4 MB, free: 22.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.2847, allocations: 336.2 kB / 476.8 MB, free: 22.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.286, allocations: 0.7694 MB / 477.5 MB, free: 21.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.2861, allocations: 206.2 kB / 477.7 MB, free: 21.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.2863, allocations: 144.7 kB / 477.9 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/0.2889, allocations: 1.72 MB / 479.6 MB, free: 20.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.289, allocations: 192 / 479.6 MB, free: 20.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.2891, allocations: 54.19 kB / 479.6 MB, free: 20.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.2891, allocations: 38.16 kB / 479.7 MB, free: 20.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.292, allocations: 2.175 MB / 481.8 MB, free: 19 MB / 366.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.007214/0.2992, allocations: 4.433 MB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/0.3033, allocations: 2.685 MB / 489 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/0.3042, allocations: 0.7412 MB / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006874/0.3111, allocations: 3.784 MB / 493.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3111, allocations: 39.56 kB / 493.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005764/0.3117, allocations: 139.2 kB / 493.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 2.886e-06/0.3117, allocations: 2.656 kB / 493.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01557/0.3273, allocations: 4.288 MB / 498 MB, free: 2.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3273, allocations: 60.41 kB / 498 MB, free: 2.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.3279, allocations: 0.7152 MB / 498.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-05/0.328, allocations: 48.8 kB / 498.8 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.3283, allocations: 0.6638 MB / 499.4 MB, free: 1.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.3285, allocations: 424.3 kB / 499.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.3288, allocations: 298.1 kB / 0.4884 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.3289, allocations: 349.9 kB / 0.4888 GB, free: 228 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008093/0.3297, allocations: 479.8 kB / 0.4892 GB, free: 15.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.331, allocations: 0.9892 MB / 0.4902 GB, free: 14.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.3334, allocations: 1.573 MB / 0.4917 GB, free: 12.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.3334, allocations: 4 kB / 0.4917 GB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005934/0.3394, allocations: 1.982 MB / 0.4937 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.3394, allocations: 15.94 kB / 0.4937 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.3394, allocations: 18.62 kB / 0.4937 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002755/0.3422, allocations: 440.8 kB / 0.4941 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.3435, allocations: 375.4 kB / 0.4945 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005795/0.3493, allocations: 3.596 MB / 0.498 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.3504, allocations: 52 kB / 0.498 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.3506, allocations: 83.97 kB / 0.4981 GB, free: 6.051 MB / 382.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.0006368/0.3512, allocations: 323.9 kB / 0.4984 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.3515, allocations: 103.3 kB / 0.4985 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.3574, allocations: 1.791 MB / 0.5003 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.3575, allocations: 12 kB / 0.5003 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3575, allocations: 9.984 kB / 0.5003 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.3575, allocations: 6.75 kB / 0.5003 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.3594, allocations: 1.011 MB / 0.5013 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3594, allocations: 0 / 0.5013 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/0.3603, allocations: 230.3 kB / 0.5015 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/0.363, allocations: 419.4 kB / 0.5019 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.3631, allocations: 43.97 kB / 0.5019 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00543/0.3686, allocations: 3.501 MB / 0.5054 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3686, allocations: 32 / 0.5054 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006672/0.3752, allocations: 2.337 MB / 0.5076 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.3759, allocations: 221.8 kB / 0.5079 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.376, allocations: 27.94 kB / 0.5079 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.3767, allocations: 24 kB / 0.5079 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003162/0.377, allocations: 120.7 kB / 0.508 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.3771, allocations: 47.98 kB / 0.5081 GB, free: 11.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005978/0.3777, allocations: 443 kB / 0.5085 GB, free: 11.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3777, allocations: 0 / 0.5085 GB, free: 11.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002801/0.3805, allocations: 0.8402 MB / 0.5093 GB, free: 10.35 MB / 398.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.002085/0.3826, allocations: 0.9765 MB / 0.5103 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.3857, allocations: 1.518 MB / 0.5117 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3857, allocations: 0 / 0.5117 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.3873, allocations: 0.8576 MB / 0.5126 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.3887, allocations: 237.2 kB / 0.5128 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.3933, allocations: 2.319 MB / 0.5151 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.3938, allocations: 0.5396 MB / 0.5156 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.3949, allocations: 290 kB / 0.5159 GB, free: 3.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.3953, allocations: 178.3 kB / 0.516 GB, free: 3.504 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3953, allocations: 0 / 0.516 GB, free: 3.504 MB / 398.1 MB Notification: Performance of Templates: time 0.0478/0.4431, allocations: 28.66 MB / 0.544 GB, free: 7.613 MB / 430.1 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.83744939789176] Failed to read output from testmodel.py, exit status != 0: 0.4525179900228977 0.47125614800000004 0.187412339 Calling exit ...