Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_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.SimpleReaction_in_Equilibrium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium") translateModel(Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 99.7 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.00123/0.001229, 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.319/1.319, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.08/0.08, allocations: 15.39 MB / 285.8 MB, free: 5.898 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.0005132/0.0005134, allocations: 16 kB / 347.7 MB, free: 18.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08417/0.0847, allocations: 51.41 MB / 399.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium): time 0.002723/0.08745, allocations: 2.283 MB / 401.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.09145, allocations: 2.706 MB / 404 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.09167, allocations: 7.938 kB / 404.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.09182, allocations: 31.77 kB / 404.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009372/0.09276, allocations: 330.8 kB / 404.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009181/0.09369, allocations: 347.2 kB / 404.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.09404, allocations: 231.4 kB / 405 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.09417, allocations: 52.72 kB / 405 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.09428, allocations: 79.69 kB / 405.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.09449, allocations: 111.5 kB / 405.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.09452, allocations: 8 kB / 405.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.181e-05/0.09456, allocations: 8 kB / 405.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.09462, allocations: 43.81 kB / 405.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.09469, allocations: 65.58 kB / 405.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.09486, allocations: 147.9 kB / 405.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.09486, allocations: 0 / 405.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09487, allocations: 0 / 405.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.09489, allocations: 4 kB / 405.5 MB, free: 8.227 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007607/0.09565, allocations: 0.5021 MB / 406 MB, free: 7.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.0957, allocations: 16.02 kB / 406 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.09577, allocations: 31.58 kB / 406 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.09615, allocations: 286.3 kB / 406.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.09618, allocations: 12 kB / 406.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.09622, allocations: 19.98 kB / 406.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.09645, allocations: 155.2 kB / 406.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.09647, allocations: 4 kB / 406.5 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.09649, allocations: 4 kB / 406.5 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.0965, allocations: 4 kB / 406.5 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.09666, allocations: 87.89 kB / 406.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.09787, allocations: 0.6828 MB / 407.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.09851, allocations: 145.1 kB / 407.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.09854, allocations: 0 / 407.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.09857, allocations: 38.5 kB / 407.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.09858, allocations: 0 / 407.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001845/0.1004, allocations: 0.5092 MB / 408 MB, free: 5.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1005, allocations: 93.03 kB / 408.1 MB, free: 5.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1008, allocations: 292.6 kB / 408.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1008, allocations: 25.7 kB / 408.4 MB, free: 5.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.101, allocations: 175.9 kB / 408.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.101, allocations: 43.33 kB / 408.6 MB, free: 4.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.101, allocations: 4 kB / 408.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1012, allocations: 338.8 kB / 408.9 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1013, allocations: 64.42 kB / 409 MB, free: 4.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.1014, allocations: 170.6 kB / 409.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1016, allocations: 95.91 kB / 409.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1016, allocations: 0 / 409.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001066/0.1027, allocations: 402.8 kB / 409.6 MB, free: 3.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1027, allocations: 8 kB / 409.6 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1027, allocations: 4 kB / 409.6 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.1038, allocations: 173.6 kB / 409.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1039, allocations: 35.92 kB / 409.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/0.1077, allocations: 3.351 MB / 413.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.1079, allocations: 8 kB / 413.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.108, allocations: 16.06 kB / 413.2 MB, free: 15.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (22): * Single equations (assignments): 20 * 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 {(1,100.0%) 3} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.1081, allocations: 145.7 kB / 413.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.1082, allocations: 27.62 kB / 413.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.1083, allocations: 30.61 kB / 413.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1083, allocations: 4 kB / 413.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1083, allocations: 0 / 413.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1083, allocations: 0 / 413.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.1088, allocations: 317.5 kB / 413.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1088, allocations: 0 / 413.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.1088, allocations: 4 kB / 413.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009231/0.1097, allocations: 165.5 kB / 413.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1098, allocations: 8 kB / 413.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003351/0.1131, allocations: 3.264 MB / 417.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1132, allocations: 32 / 417.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1142, allocations: 0.5444 MB / 417.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.1144, allocations: 120.8 kB / 417.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.1144, allocations: 3.938 kB / 417.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1146, allocations: 8 kB / 417.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.1147, allocations: 7.984 kB / 417.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.1147, allocations: 4 kB / 417.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1149, allocations: 207.1 kB / 418.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1149, allocations: 4.062 kB / 418.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.1153, allocations: 76 kB / 418.1 MB, free: 10.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (amountOfSubstanceConservationLaw.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 (5): * Single equations (assignments): 3 * 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 {(1,100.0%) 3} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001062/0.1155, allocations: 91.25 kB / 418.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008695/0.1163, allocations: 449.6 kB / 418.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1164, allocations: 4 kB / 418.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.1169, allocations: 329.2 kB / 419 MB, free: 9.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1173, allocations: 73.75 kB / 419.1 MB, free: 9.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.118, allocations: 0.5574 MB / 419.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1184, allocations: 0.7677 MB / 420.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.1185, allocations: 42.89 kB / 420.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.1185, allocations: 19.44 kB / 420.5 MB, free: 8.172 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1186, allocations: 0 / 420.5 MB, free: 8.172 MB / 318.1 MB Notification: Performance of Templates: time 0.008241/0.1268, allocations: 4.785 MB / 425.2 MB, free: 3.375 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe ; mkfifo Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe >> ../files/Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.sim & ./Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe 2>&1) Environment - environmentSimulation: