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.001285/0.001285, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001457/0.001457, allocations: 174 kB / 22.46 MB, free: 5.355 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.1344/0.1344, allocations: 17.46 MB / 276.6 MB, free: 15.21 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 412.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.122e-05, allocations: 2.281 kB / 412.1 MB, free: 4.285 MB / 334.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.0388/0.03884, allocations: 27.34 MB / 439.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1878/0.2266, allocations: 17.16 MB / 456.6 MB, free: 31.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008048/0.2275, allocations: 26.81 kB / 456.6 MB, free: 31.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.2286, allocations: 384.7 kB / 457 MB, free: 31.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.2331, allocations: 1.721 MB / 458.7 MB, free: 30.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006395/0.2395, allocations: 2.608 MB / 461.3 MB, free: 29.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.2421, allocations: 2.046 MB / 463.4 MB, free: 28.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.2435, allocations: 0.9152 MB / 464.3 MB, free: 28.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.2459, allocations: 1.383 MB / 465.7 MB, free: 27.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.2478, allocations: 0.934 MB / 466.6 MB, free: 27.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003559/0.2482, allocations: 173.2 kB / 466.8 MB, free: 27.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005679/0.2538, allocations: 2.068 MB / 468.8 MB, free: 26.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004194/0.2543, allocations: 442.8 kB / 469.3 MB, free: 26.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.2554, allocations: 0.6361 MB / 469.9 MB, free: 26.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008314/0.2637, allocations: 4.506 MB / 474.4 MB, free: 23.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2637, allocations: 3.984 kB / 474.4 MB, free: 23.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2637, allocations: 1.375 kB / 474.4 MB, free: 23.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.216e-05/0.2638, allocations: 0 / 474.4 MB, free: 23.81 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.004952/0.2688, allocations: 2.14 MB / 476.6 MB, free: 22.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.2688, allocations: 10.31 kB / 476.6 MB, free: 22.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.2704, allocations: 341.2 kB / 476.9 MB, free: 22.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.2716, allocations: 0.762 MB / 477.7 MB, free: 21.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.2718, allocations: 208.5 kB / 477.9 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.272, allocations: 140.2 kB / 478 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.2744, allocations: 1.722 MB / 479.7 MB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.2744, allocations: 5.641 kB / 479.7 MB, free: 20.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.2745, allocations: 54.53 kB / 479.8 MB, free: 20.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.2746, allocations: 35.28 kB / 479.8 MB, free: 20.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.2775, allocations: 2.17 MB / 482 MB, free: 18.75 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.00697/0.2845, allocations: 4.436 MB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/0.2886, allocations: 2.692 MB / 489.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009309/0.2895, allocations: 0.741 MB / 489.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006763/0.2963, allocations: 3.784 MB / 493.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2963, allocations: 39.56 kB / 493.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005334/0.2968, allocations: 141.9 kB / 493.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 2.806e-06/0.2968, allocations: 0 / 493.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.0159/0.3127, allocations: 4.281 MB / 498.1 MB, free: 2.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3128, allocations: 68.39 kB / 498.2 MB, free: 2.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.3134, allocations: 0.7113 MB / 498.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.465e-05/0.3135, allocations: 45.7 kB / 498.9 MB, free: 1.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.3137, allocations: 0.6664 MB / 499.6 MB, free: 1.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.3139, allocations: 424.4 kB / 0.4883 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.3142, allocations: 295.4 kB / 0.4886 GB, free: 328 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.3143, allocations: 349.9 kB / 0.4889 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008983/0.3152, allocations: 483.4 kB / 0.4894 GB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.3167, allocations: 0.984 MB / 0.4903 GB, free: 14.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.3193, allocations: 1.577 MB / 0.4919 GB, free: 12.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.3193, allocations: 8 kB / 0.4919 GB, free: 12.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005914/0.3252, allocations: 1.977 MB / 0.4938 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.3252, allocations: 19.88 kB / 0.4938 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.3252, allocations: 16 kB / 0.4938 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.328, allocations: 449 kB / 0.4943 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.3293, allocations: 370.1 kB / 0.4946 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.3351, allocations: 3.606 MB / 0.4981 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.3361, allocations: 48 kB / 0.4982 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.3363, allocations: 87.97 kB / 0.4983 GB, free: 5.793 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.0005922/0.3369, allocations: 313.3 kB / 0.4986 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.3371, allocations: 106 kB / 0.4987 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.3431, allocations: 1.795 MB / 0.5004 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.3431, allocations: 12 kB / 0.5004 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3431, allocations: 0 / 0.5004 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.3431, allocations: 14.78 kB / 0.5004 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.345, allocations: 1.002 MB / 0.5014 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.345, allocations: 2.812 kB / 0.5014 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009652/0.346, allocations: 231.7 kB / 0.5016 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/0.3487, allocations: 418.3 kB / 0.502 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.3488, allocations: 47.97 kB / 0.5021 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005776/0.3546, allocations: 3.496 MB / 0.5055 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.3546, allocations: 5.594 kB / 0.5055 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006808/0.3614, allocations: 2.333 MB / 0.5078 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/0.362, allocations: 211.2 kB / 0.508 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.3623, allocations: 27.92 kB / 0.508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.363, allocations: 30.62 kB / 0.508 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/0.3633, allocations: 108.8 kB / 0.5082 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.3635, allocations: 51.97 kB / 0.5082 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006223/0.3641, allocations: 443 kB / 0.5086 GB, free: 10.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 0 / 0.5086 GB, free: 10.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002749/0.3668, allocations: 0.8376 MB / 0.5094 GB, free: 10.11 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.002374/0.3692, allocations: 0.9844 MB / 0.5104 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.3724, allocations: 1.514 MB / 0.5119 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3724, allocations: 0 / 0.5119 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.374, allocations: 0.8614 MB / 0.5127 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.3753, allocations: 239.9 kB / 0.513 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/0.38, allocations: 2.31 MB / 0.5152 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.3806, allocations: 0.5371 MB / 0.5157 GB, free: 3.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001047/0.3816, allocations: 298.2 kB / 0.516 GB, free: 3.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.3821, allocations: 187 kB / 0.5162 GB, free: 3.254 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3821, allocations: 0 / 0.5162 GB, free: 3.254 MB / 398.1 MB Notification: Performance of Templates: time 0.0482/0.4303, allocations: 28.67 MB / 0.5442 GB, free: 7.367 MB / 430.1 MB " [Timeout remaining time 660] 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: 5.801852833479643] Failed to read output from testmodel.py, exit status != 0: 0.4404962360858917 0.45408128400000003 0.187239664 Calling exit ...