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: "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.O2_in_water,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_O2_in_water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.O2_in_water,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_O2_in_water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 99.78 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.0009183/0.0009183, 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.313/1.313, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.07599/0.07599, allocations: 15.41 MB / 285.8 MB, free: 5.891 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.0005449/0.0005451, allocations: 12 kB / 347.8 MB, free: 18.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09573, allocations: 51.41 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.O2_in_water): time 0.002951/0.09874, allocations: 2.226 MB / 401.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.102, allocations: 1.919 MB / 403.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1022, allocations: 7.938 kB / 403.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.675e-05/0.1022, allocations: 19.83 kB / 403.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006793/0.1029, allocations: 215.3 kB / 403.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.1034, allocations: 231.4 kB / 403.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.1037, allocations: 175.6 kB / 403.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1038, allocations: 44.47 kB / 404 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1039, allocations: 67.7 kB / 404.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1041, allocations: 71.69 kB / 404.1 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1041, allocations: 8 kB / 404.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.66e-05/0.1041, allocations: 8 kB / 404.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.1042, allocations: 23.86 kB / 404.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.1042, allocations: 57.64 kB / 404.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1044, allocations: 119.8 kB / 404.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1044, allocations: 0 / 404.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1044, allocations: 4 kB / 404.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1044, allocations: 3.938 kB / 404.3 MB, free: 9.363 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.0007438/0.1051, allocations: 466.5 kB / 404.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1052, allocations: 8.031 kB / 404.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.1053, allocations: 50.48 kB / 404.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1053, allocations: 15.81 kB / 404.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.1057, allocations: 242.4 kB / 405.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1057, allocations: 8 kB / 405.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1057, allocations: 16 kB / 405.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.106, allocations: 122.1 kB / 405.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.106, allocations: 0 / 405.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.106, allocations: 4 kB / 405.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1061, allocations: 4 kB / 405.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.1063, allocations: 87.95 kB / 405.3 MB, free: 8.258 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.00102/0.1073, allocations: 0.5804 MB / 405.9 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1075, allocations: 78.55 kB / 406 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1075, allocations: 0 / 406 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1076, allocations: 30.56 kB / 406 MB, free: 7.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.81e-07/0.1076, allocations: 0 / 406 MB, free: 7.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001684/0.1093, allocations: 484.6 kB / 406.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1093, allocations: 55.41 kB / 406.6 MB, free: 6.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1095, allocations: 211.9 kB / 406.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1096, allocations: 25.7 kB / 406.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.1097, allocations: 148 kB / 406.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.1097, allocations: 47.34 kB / 407 MB, free: 6.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.1097, allocations: 8 kB / 407 MB, free: 6.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1099, allocations: 330.8 kB / 407.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1101, allocations: 67.97 kB / 407.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.1103, allocations: 141.4 kB / 407.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.1105, allocations: 92.05 kB / 407.6 MB, free: 5.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1105, allocations: 0 / 407.6 MB, free: 5.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004955/0.111, allocations: 253.2 kB / 407.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.111, allocations: 7.938 kB / 407.9 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.1111, allocations: 4 kB / 407.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.1111, allocations: 8.312 kB / 407.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.1115, allocations: 79.91 kB / 408 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.1115, allocations: 11.88 kB / 408 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1117, allocations: 27.89 kB / 408 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.1117, allocations: 8 kB / 408 MB, free: 5.426 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.0001739/0.1119, allocations: 141.7 kB / 408.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.1119, allocations: 19.8 kB / 408.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.1125, allocations: 203.1 kB / 408.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1125, allocations: 4 kB / 408.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.1125, allocations: 3.953 kB / 408.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1125, allocations: 0 / 408.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.1128, allocations: 265.5 kB / 408.6 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1128, allocations: 0 / 408.6 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.1131, allocations: 63.91 kB / 408.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1131, allocations: 0 / 408.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1131, allocations: 3.984 kB / 408.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1131, allocations: 0 / 408.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1132, allocations: 0 / 408.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.1136, allocations: 287.2 kB / 409 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.1137, allocations: 104.8 kB / 409.1 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1137, allocations: 0 / 409.1 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1139, allocations: 23.98 kB / 409.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.1139, allocations: 11.98 kB / 409.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.114, allocations: 4 kB / 409.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1141, allocations: 145.8 kB / 409.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1141, allocations: 0 / 409.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1144, allocations: 47.95 kB / 409.3 MB, free: 4.023 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 0.0006999/0.1151, allocations: 0.8099 MB / 410.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.1155, allocations: 184.8 kB / 410.3 MB, free: 3.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1155, allocations: 4.062 kB / 410.3 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1157, allocations: 79.91 kB / 410.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1161, allocations: 51.69 kB / 410.4 MB, free: 2.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1176, allocations: 2.279 MB / 412.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1179, allocations: 0.7365 MB / 413.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.1181, allocations: 25.94 kB / 413.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1182, allocations: 59.42 kB / 413.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1182, allocations: 0 / 413.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.1322, allocations: 3.915 MB / 417.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.1324, allocations: 169.8 kB / 417.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.847, allocations: 0 / 417.6 MB, free: 11.5 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_SteadyStates_Examples_O2_in_water_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_SteadyStates_Examples_O2_in_water.fmu > Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.pipe 2>&1) Environment - environmentSimulation: