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.001886/0.001886, allocations: 89.48 kB / 19.44 MB, free: 332 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.002124/0.002124, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.669/1.669, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.1535/0.1535, allocations: 17.45 MB / 277 MB, free: 11.58 MB / 266.7 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 2.244e-06/2.244e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.343e-05, allocations: 5.547 kB / 352.8 MB, free: 10.19 MB / 282.7 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.04425/0.04428, allocations: 28.25 MB / 381.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03114/0.07542, allocations: 19.55 MB / 400.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.07748, allocations: 27.75 kB / 400.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.07971, allocations: 377 kB / 401 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006388/0.0861, allocations: 1.729 MB / 402.7 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008903/0.095, allocations: 2.609 MB / 405.4 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003687/0.09869, allocations: 2.039 MB / 407.4 MB, free: 3.641 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.1003, allocations: 0.9554 MB / 408.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.1023, allocations: 1.385 MB / 409.7 MB, free: 1.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.1045, allocations: 0.9471 MB / 410.7 MB, free: 332 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003974/0.1049, allocations: 179.9 kB / 410.9 MB, free: 152 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1508/0.2558, allocations: 2.06 MB / 412.9 MB, free: 36.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006569/0.2564, allocations: 440.4 kB / 413.3 MB, free: 36.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.2576, allocations: 0.6372 MB / 414 MB, free: 36.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009876/0.2675, allocations: 4.523 MB / 418.5 MB, free: 36.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2675, allocations: 0 / 418.5 MB, free: 36.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2675, allocations: 0.6562 kB / 418.5 MB, free: 36.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.982e-05/0.2676, allocations: 1.281 kB / 418.5 MB, free: 36.57 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.0047/0.2723, allocations: 2.345 MB / 420.8 MB, free: 35.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2723, allocations: 9.656 kB / 420.9 MB, free: 35.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.2741, allocations: 0.5517 MB / 421.4 MB, free: 35.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2756, allocations: 0.7729 MB / 422.2 MB, free: 35.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.2757, allocations: 219.9 kB / 422.4 MB, free: 34.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.2759, allocations: 136.3 kB / 422.5 MB, free: 34.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.2784, allocations: 1.748 MB / 424.3 MB, free: 34.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.2785, allocations: 3.719 kB / 424.3 MB, free: 34.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.2786, allocations: 52.72 kB / 424.3 MB, free: 34.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.2786, allocations: 34.34 kB / 424.4 MB, free: 34.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.2816, allocations: 2.106 MB / 426.5 MB, free: 34.73 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.007879/0.2894, allocations: 5.069 MB / 431.5 MB, free: 32.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004304/0.2937, allocations: 2.646 MB / 434.2 MB, free: 31.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008897/0.2946, allocations: 0.6895 MB / 434.9 MB, free: 31.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007185/0.3018, allocations: 4.008 MB / 438.9 MB, free: 28.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3018, allocations: 52.36 kB / 438.9 MB, free: 28.67 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000606/0.3025, allocations: 145.2 kB / 439.1 MB, free: 28.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 2.755e-06/0.3025, allocations: 0.875 kB / 439.1 MB, free: 28.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.01542/0.3179, allocations: 4.278 MB / 443.4 MB, free: 24.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.3179, allocations: 64.41 kB / 443.4 MB, free: 24.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.3187, allocations: 0.9059 MB / 444.3 MB, free: 23.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/0.3187, allocations: 41.7 kB / 444.4 MB, free: 23.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.319, allocations: 0.7472 MB / 445.1 MB, free: 22.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.3193, allocations: 457.3 kB / 445.6 MB, free: 22.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.3196, allocations: 329.1 kB / 445.9 MB, free: 21.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3197, allocations: 0.5472 MB / 446.4 MB, free: 21.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/0.3204, allocations: 455.8 kB / 446.9 MB, free: 20.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000853/0.3212, allocations: 1.213 MB / 448.1 MB, free: 19.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.3228, allocations: 1.82 MB / 449.9 MB, free: 17.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.3228, allocations: 8 kB / 449.9 MB, free: 17.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004686/0.3275, allocations: 2.024 MB / 451.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3276, allocations: 15.94 kB / 452 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3276, allocations: 18.66 kB / 452 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00347/0.331, allocations: 0.5602 MB / 452.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.3321, allocations: 379.9 kB / 452.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.3364, allocations: 4.825 MB / 457.7 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009826/0.3374, allocations: 56 kB / 457.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.3375, allocations: 86.62 kB / 457.9 MB, free: 9.145 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.0004323/0.3379, allocations: 356.8 kB / 458.2 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.3381, allocations: 147.9 kB / 458.4 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/0.3428, allocations: 1.771 MB / 460.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3428, allocations: 12 kB / 460.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.3428, allocations: 0 / 460.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3428, allocations: 3.984 kB / 460.1 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.3441, allocations: 1.184 MB / 461.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3441, allocations: 2.594 kB / 461.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.3448, allocations: 230.8 kB / 461.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00338/0.3482, allocations: 0.5376 MB / 462.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/0.3483, allocations: 44.62 kB / 462.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.3521, allocations: 4.723 MB / 466.9 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3521, allocations: 4 kB / 466.9 MB, free: 0 / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/0.3584, allocations: 2.378 MB / 469.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/0.3591, allocations: 210.5 kB / 469.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.3593, allocations: 27.92 kB / 469.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.3599, allocations: 28 kB / 469.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.3602, allocations: 108.8 kB / 469.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.3603, allocations: 51.97 kB / 469.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007147/0.3611, allocations: 0.5068 MB / 470.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3611, allocations: 0.7656 kB / 470.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002833/0.3639, allocations: 0.8441 MB / 471 MB, free: 11.82 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.002023/0.3659, allocations: 0.9898 MB / 472 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.3691, allocations: 1.697 MB / 473.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3691, allocations: 0 / 473.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.3709, allocations: 1.022 MB / 474.7 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.3722, allocations: 277 kB / 475 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.3765, allocations: 2.366 MB / 477.4 MB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.3771, allocations: 0.5292 MB / 477.9 MB, free: 5.113 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000952/0.3781, allocations: 288.6 kB / 478.2 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.3785, allocations: 183.8 kB / 478.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3785, allocations: 0 / 478.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of Templates: time 0.05046/0.429, allocations: 29.06 MB / 0.4955 GB, free: 8.727 MB / 378.7 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.274709806079045]