Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.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.O2_in_water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water") translateModel(Physiolibrary.SteadyStates.Examples.O2_in_water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009569/0.0009566, 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.001016/0.001016, 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.276/1.276, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.07546/0.07546, allocations: 15.4 MB / 285.8 MB, free: 5.906 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.0005526/0.0005527, allocations: 20 kB / 347.7 MB, free: 18.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.089, allocations: 51.41 MB / 399.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.O2_in_water): time 0.003071/0.09212, allocations: 2.222 MB / 401.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.09544, allocations: 1.927 MB / 403.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.09571, allocations: 3.938 kB / 403.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.941e-05/0.0958, allocations: 19.84 kB / 403.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008632/0.09668, allocations: 215.3 kB / 403.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.09729, allocations: 227.5 kB / 403.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.09762, allocations: 171.6 kB / 403.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.09777, allocations: 52.44 kB / 403.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.0979, allocations: 63.78 kB / 404 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.09804, allocations: 75.62 kB / 404 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.09807, allocations: 8 kB / 404 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.722e-05/0.0981, allocations: 8 kB / 404 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.09814, allocations: 27.84 kB / 404.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.0982, allocations: 57.64 kB / 404.1 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.09834, allocations: 119.9 kB / 404.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.09835, allocations: 0 / 404.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09836, allocations: 0 / 404.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.09837, allocations: 0 / 404.2 MB, free: 9.473 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006905/0.09906, allocations: 470.4 kB / 404.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.09911, allocations: 12.03 kB / 404.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.09918, allocations: 23.75 kB / 404.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.09949, allocations: 238.5 kB / 405 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.09951, allocations: 15.92 kB / 405 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.09954, allocations: 12 kB / 405 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.0998, allocations: 114.1 kB / 405.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.09982, allocations: 0 / 405.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.09984, allocations: 8 kB / 405.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.09985, allocations: 4 kB / 405.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.1001, allocations: 91.94 kB / 405.2 MB, free: 8.41 MB / 302.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.0008602/0.101, allocations: 0.5727 MB / 405.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1011, allocations: 78.48 kB / 405.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1012, allocations: 4 kB / 405.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1012, allocations: 34.56 kB / 405.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.1012, allocations: 0 / 405.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001659/0.1029, allocations: 476.6 kB / 406.4 MB, free: 7.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1029, allocations: 51.41 kB / 406.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1031, allocations: 212 kB / 406.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1031, allocations: 25.7 kB / 406.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.1032, allocations: 151.9 kB / 406.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.1033, allocations: 51.3 kB / 406.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.1033, allocations: 7.938 kB / 406.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1034, allocations: 326.8 kB / 407.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.1036, allocations: 67.95 kB / 407.2 MB, free: 6.246 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.1038, allocations: 137.4 kB / 407.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.104, allocations: 96.03 kB / 407.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.104, allocations: 0 / 407.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004699/0.1045, allocations: 249.3 kB / 407.7 MB, free: 5.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1045, allocations: 11.98 kB / 407.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1045, allocations: 0 / 407.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1045, allocations: 4 kB / 407.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.1049, allocations: 84.17 kB / 407.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.1049, allocations: 7.953 kB / 407.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.1051, allocations: 27.83 kB / 407.8 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.1051, allocations: 8 kB / 407.8 MB, free: 5.594 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.1052, allocations: 133.8 kB / 408 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.1053, allocations: 19.81 kB / 408 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.1057, allocations: 215 kB / 408.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1057, allocations: 0 / 408.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1057, allocations: 0 / 408.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1058, allocations: 11.95 kB / 408.2 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.106, allocations: 261.5 kB / 408.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1061, allocations: 3.984 kB / 408.5 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.1063, allocations: 55.97 kB / 408.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1063, allocations: 0 / 408.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1063, allocations: 4 kB / 408.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1064, allocations: 4 kB / 408.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1064, allocations: 0 / 408.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.1068, allocations: 291.2 kB / 408.8 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1069, allocations: 108.8 kB / 408.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.1069, allocations: 4 kB / 408.9 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1071, allocations: 19.98 kB / 409 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.1072, allocations: 7.984 kB / 409 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.1072, allocations: 4 kB / 409 MB, free: 4.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1073, allocations: 145.9 kB / 409.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1073, allocations: 0 / 409.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1076, allocations: 40 kB / 409.1 MB, free: 4.191 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.736e-05/0.1077, allocations: 99.14 kB / 409.2 MB, free: 4.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.1081, allocations: 183.8 kB / 409.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1081, allocations: 0 / 409.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1083, allocations: 85.2 kB / 409.5 MB, free: 3.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1087, allocations: 40.64 kB / 409.5 MB, free: 3.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.1093, allocations: 482.1 kB / 410 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1096, allocations: 0.7365 MB / 410.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.1098, allocations: 25.95 kB / 410.8 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.1098, allocations: 23.42 kB / 410.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1098, allocations: 4 kB / 410.8 MB, free: 2.473 MB / 302.1 MB Notification: Performance of Templates: time 0.005119/0.115, allocations: 2.037 MB / 412.8 MB, free: 448 kB / 302.1 MB make -j1 -f Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.pipe ; mkfifo Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.pipe >> ../files/Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.sim & ./Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.pipe 2>&1) Environment - environmentSimulation: