Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo", uses=false) Using package Physiolibrary with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium") translateModel(Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009556, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000963/0.0009631, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:1238:16-1238:88:writable] Warning: The file was not encoded in UTF-8: "

[1] Matej?k M, Kulh?nek T, Matouaek S. Adair-Based Hemoglobin...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:1632:61-1632:133:writable] Warning: The file was not encoded in UTF-8: "

Before silumation in "Dymola 2014 FD01" please set e...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo): time 0.07425/0.07425, allocations: 15.4 MB / 285.8 MB, free: 5.895 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005064, allocations: 12 kB / 347.6 MB, free: 18.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08562/0.08613, allocations: 51.42 MB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium): time 0.002894/0.08907, allocations: 2.599 MB / 401.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.09374, allocations: 3.517 MB / 405.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.094, allocations: 15.88 kB / 405.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.09415, allocations: 35.69 kB / 405.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.09527, allocations: 442.5 kB / 405.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.09635, allocations: 494.8 kB / 406.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004136/0.09678, allocations: 327.2 kB / 406.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.09693, allocations: 56.91 kB / 406.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.09706, allocations: 115.5 kB / 406.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.09731, allocations: 151.3 kB / 406.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.09735, allocations: 15.94 kB / 406.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.0974, allocations: 8 kB / 406.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.09748, allocations: 71.73 kB / 406.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.09756, allocations: 81.52 kB / 407 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.09777, allocations: 223.7 kB / 407.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.09778, allocations: 0 / 407.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.09779, allocations: 0 / 407.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.0978, allocations: 0 / 407.2 MB, free: 6.523 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009172/0.09872, allocations: 0.5996 MB / 407.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.09876, allocations: 12.02 kB / 407.8 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.09883, allocations: 47.47 kB / 407.8 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.09925, allocations: 326.8 kB / 408.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.09928, allocations: 12.38 kB / 408.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.09933, allocations: 24 kB / 408.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.09972, allocations: 222.7 kB / 408.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.09974, allocations: 0 / 408.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.09977, allocations: 12 kB / 408.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.09979, allocations: 4 kB / 408.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.1, allocations: 131.8 kB / 408.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.1016, allocations: 0.9125 MB / 409.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1017, allocations: 123.7 kB / 409.6 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1018, allocations: 4.125 kB / 409.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1018, allocations: 42.62 kB / 409.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.1018, allocations: 0 / 409.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.003301/0.1051, allocations: 0.9293 MB / 410.6 MB, free: 2.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1052, allocations: 106.8 kB / 410.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.1055, allocations: 381.5 kB / 411 MB, free: 2.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1056, allocations: 33.7 kB / 411.1 MB, free: 2.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1057, allocations: 212.1 kB / 411.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.1058, allocations: 67.09 kB / 411.3 MB, free: 2.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.447e-05/0.1058, allocations: 4 kB / 411.3 MB, free: 2.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1059, allocations: 346.8 kB / 411.7 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.1061, allocations: 111.7 kB / 411.8 MB, free: 1.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.1063, allocations: 268.1 kB / 412.1 MB, free: 1.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1065, allocations: 143.9 kB / 412.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1065, allocations: 4 kB / 412.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002015/0.1085, allocations: 0.6546 MB / 412.9 MB, free: 488 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1086, allocations: 11.94 kB / 412.9 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1086, allocations: 4 kB / 412.9 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/0.1106, allocations: 353.4 kB / 413.2 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1107, allocations: 59.91 kB / 413.3 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004624/0.1154, allocations: 4.012 MB / 417.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.1157, allocations: 27.84 kB / 417.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1157, allocations: 16 kB / 417.3 MB, free: 11.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.1159, allocations: 161.7 kB / 417.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.116, allocations: 35.53 kB / 417.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.116, allocations: 55.23 kB / 417.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1161, allocations: 0 / 417.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1161, allocations: 4 kB / 417.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1161, allocations: 4 kB / 417.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.1166, allocations: 405.3 kB / 418 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1166, allocations: 0 / 418 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.1167, allocations: 11.94 kB / 418 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.1186, allocations: 337.3 kB / 418.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1186, allocations: 8.266 kB / 418.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.123, allocations: 3.956 MB / 422.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.123, allocations: 0 / 422.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.125, allocations: 0.816 MB / 423.1 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1252, allocations: 136.6 kB / 423.2 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.1252, allocations: 0 / 423.2 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1255, allocations: 11.98 kB / 423.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.1255, allocations: 27.92 kB / 423.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1255, allocations: 8.062 kB / 423.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.1258, allocations: 255.2 kB / 423.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1258, allocations: 0 / 423.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005536/0.1264, allocations: 116 kB / 423.6 MB, free: 5.023 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (totalB_ConservationLaw.state[1],totalC_ConservationLaw.state[1]) * 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.1265, allocations: 99.17 kB / 423.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.1276, allocations: 0.5673 MB / 424.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1276, allocations: 0 / 424.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006756/0.1283, allocations: 402.5 kB / 424.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.1288, allocations: 89.44 kB / 424.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.1297, allocations: 0.7503 MB / 425.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.1301, allocations: 0.8191 MB / 426.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.1302, allocations: 51.28 kB / 426.4 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.1303, allocations: 27.44 kB / 426.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1303, allocations: 3.938 kB / 426.4 MB, free: 2.109 MB / 318.1 MB Notification: Performance of Templates: time 0.1581/0.2884, allocations: 7.113 MB / 433.5 MB, free: 27.9 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.pipe ; mkfifo Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.pipe >> ../files/Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.sim & ./Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.pipe 2>&1) Environment - environmentSimulation: