Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Physiolibrary.Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics") translateModel(Physiolibrary.Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 102.2 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3571/0.3571, allocations: 36.67 MB / 376.7 MB, free: 41.51 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 446.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 58.92 MB / 0.4935 GB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671: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/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671: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(Physiolibrary.Chemical.Examples.EnzymeKinetics): time 0.2168/0.3199, allocations: 24.44 MB / 0.5174 GB, free: 33.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.337, allocations: 19.26 MB / 0.5362 GB, free: 19.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.3386, allocations: 28.31 kB / 0.5362 GB, free: 19.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.3399, allocations: 373.6 kB / 0.5365 GB, free: 19.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.3445, allocations: 1.372 MB / 0.5379 GB, free: 18.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006968/0.3515, allocations: 2.183 MB / 0.54 GB, free: 17.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.3543, allocations: 1.945 MB / 0.5419 GB, free: 16.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.3556, allocations: 0.9741 MB / 0.5429 GB, free: 15.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.3569, allocations: 0.9478 MB / 0.5438 GB, free: 15.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.3585, allocations: 1.094 MB / 0.5449 GB, free: 15.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.3588, allocations: 115 kB / 0.545 GB, free: 15.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006927/0.3657, allocations: 2.043 MB / 0.547 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005801/0.3663, allocations: 383.8 kB / 0.5473 GB, free: 14.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.3675, allocations: 0.808 MB / 0.5481 GB, free: 14.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008455/0.3759, allocations: 3.898 MB / 0.5519 GB, free: 12.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.376, allocations: 0 / 0.5519 GB, free: 12.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.376, allocations: 0 / 0.5519 GB, free: 12.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.367e-05/0.376, allocations: 0 / 0.5519 GB, free: 12.3 MB / 378.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.004175/0.3802, allocations: 2.193 MB / 0.5541 GB, free: 10.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3803, allocations: 12.03 kB / 0.5541 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.3816, allocations: 333.7 kB / 0.5544 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.3827, allocations: 0.7888 MB / 0.5552 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.3829, allocations: 161.9 kB / 0.5553 GB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.3831, allocations: 136.3 kB / 0.5555 GB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.3855, allocations: 1.719 MB / 0.5571 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.3855, allocations: 0 / 0.5571 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.3857, allocations: 59.94 kB / 0.5572 GB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.3857, allocations: 32 kB / 0.5572 GB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.3887, allocations: 2.195 MB / 0.5594 GB, free: 5.602 MB / 378.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.008561/0.3972, allocations: 5.529 MB / 0.5648 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/0.4022, allocations: 3.225 MB / 0.5679 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.4038, allocations: 0.8229 MB / 0.5687 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.4142, allocations: 7.036 MB / 0.5756 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.4143, allocations: 47.5 kB / 0.5756 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007791/0.4151, allocations: 134.8 kB / 0.5758 GB, free: 5.266 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 3.787e-06/0.4151, allocations: 0 / 0.5758 GB, free: 5.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=116): time 0.01832/0.4334, allocations: 4.609 MB / 0.5803 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.4335, allocations: 64.41 kB / 0.5803 GB, free: 492 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/0.4345, allocations: 0.7314 MB / 0.581 GB, free: 15.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.4347, allocations: 45.7 kB / 0.5811 GB, free: 15.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.4351, allocations: 0.6383 MB / 0.5817 GB, free: 15.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.4354, allocations: 414.1 kB / 0.5821 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.4359, allocations: 291.3 kB / 0.5824 GB, free: 14.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.436, allocations: 353.9 kB / 0.5827 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008808/0.4369, allocations: 487.7 kB / 0.5832 GB, free: 13.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.4382, allocations: 0.9918 MB / 0.5841 GB, free: 12.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.4404, allocations: 1.597 MB / 0.5857 GB, free: 10.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.4404, allocations: 4 kB / 0.5857 GB, free: 10.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006115/0.4465, allocations: 2.045 MB / 0.5877 GB, free: 8.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.4466, allocations: 12 kB / 0.5877 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.4466, allocations: 19.94 kB / 0.5877 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.4494, allocations: 478.2 kB / 0.5882 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4508, allocations: 379.4 kB / 0.5886 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.456, allocations: 3.501 MB / 0.592 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.4575, allocations: 95.86 kB / 0.5921 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.4577, allocations: 87.97 kB / 0.5921 GB, free: 3.574 MB / 410.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.0006274/0.4583, allocations: 329.1 kB / 0.5925 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.4586, allocations: 106.7 kB / 0.5926 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006274/0.4648, allocations: 1.862 MB / 0.5944 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.4649, allocations: 16 kB / 0.5944 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4649, allocations: 0 / 0.5944 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.794e-05/0.465, allocations: 7.922 kB / 0.5944 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.4675, allocations: 1.35 MB / 0.5957 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.4675, allocations: 4 kB / 0.5957 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009299/0.4685, allocations: 231.8 kB / 0.5959 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.4711, allocations: 458 kB / 0.5964 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.4714, allocations: 43.97 kB / 0.5964 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.4763, allocations: 3.398 MB / 0.5997 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4763, allocations: 3.938 kB / 0.5997 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.026/0.5023, allocations: 10.1 MB / 0.6096 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.5029, allocations: 279.7 kB / 0.6099 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.5031, allocations: 24 kB / 0.6099 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/0.5038, allocations: 51.88 kB / 0.6099 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.5041, allocations: 112.9 kB / 0.6101 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.5042, allocations: 43.98 kB / 0.6101 GB, free: 488 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006319/0.5049, allocations: 483 kB / 0.6106 GB, free: 12 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5049, allocations: 0 / 0.6106 GB, free: 12 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.003186/0.5081, allocations: 0.9604 MB / 0.6115 GB, free: 15.05 MB / 442.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.001851/0.5099, allocations: 0.908 MB / 0.6124 GB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002932/0.5129, allocations: 1.689 MB / 0.614 GB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5129, allocations: 0 / 0.614 GB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.5144, allocations: 1.001 MB / 0.615 GB, free: 11.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.5157, allocations: 219.6 kB / 0.6152 GB, free: 11.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.5207, allocations: 3.768 MB / 0.6189 GB, free: 7.301 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007447/0.5215, allocations: 1.163 MB / 0.62 GB, free: 6.109 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001494/0.523, allocations: 316.9 kB / 0.6203 GB, free: 5.797 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.5235, allocations: 183.3 kB / 0.6205 GB, free: 5.617 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5235, allocations: 0 / 0.6205 GB, free: 5.617 MB / 442.7 MB Notification: Performance of Templates: time 0.04562/0.5691, allocations: 30.84 MB / 0.6506 GB, free: 6.879 MB / 474.7 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics.makefile (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.EnzymeKinetics.pipe 2>&1)