Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Types.Examples.Units.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.Types.Examples.Units,fileNamePrefix="Physiolibrary_Physiolibrary_Types_Examples_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Types.Examples.Units,fileNamePrefix="Physiolibrary_Physiolibrary_Types_Examples_Units",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.0008294/0.0008295, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009024/0.0009023, allocations: 172.7 kB / 15.95 MB, free: 208 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.466/1.466, allocations: 205.4 MB / 222.1 MB, free: 5.477 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.07989/0.07989, allocations: 15.4 MB / 285.8 MB, free: 5.773 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.0005614/0.0005614, allocations: 19.94 kB / 347.8 MB, free: 18.06 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.09985, allocations: 51.42 MB / 399.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Types.Examples.Units): time 0.001884/0.1018, allocations: 1.495 MB / 400.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001011/0.1019, allocations: 67.69 kB / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.1019, allocations: 0 / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.102, allocations: 3.984 kB / 400.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.1021, allocations: 59.48 kB / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.24e-06/0.1021, allocations: 0 / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1022, allocations: 87.19 kB / 400.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.566e-05/0.1023, allocations: 15.95 kB / 400.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.1024, allocations: 23.94 kB / 401 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.1025, allocations: 27.81 kB / 401 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.1025, allocations: 0 / 401 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.1025, allocations: 4 kB / 401 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.1025, allocations: 7.938 kB / 401 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.1025, allocations: 41.7 kB / 401 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.629e-05/0.1026, allocations: 40.17 kB / 401.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1026, allocations: 0 / 401.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1026, allocations: 0 / 401.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1026, allocations: 0 / 401.1 MB, free: 12.64 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003753/0.103, allocations: 386.7 kB / 401.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1031, allocations: 8.031 kB / 401.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.1031, allocations: 105.8 kB / 401.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.1032, allocations: 87.19 kB / 401.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1034, allocations: 270 kB / 401.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.1035, allocations: 154.5 kB / 402.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.1036, allocations: 150.6 kB / 402.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.96e-05/0.1036, allocations: 105 kB / 402.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.1037, allocations: 75.28 kB / 402.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.1038, allocations: 154.6 kB / 402.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.475e-05/0.1038, allocations: 150.6 kB / 402.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.1039, allocations: 154.5 kB / 402.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.1042, allocations: 469.9 kB / 403.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.616e-05/0.1043, allocations: 173.1 kB / 403.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.1044, allocations: 80.14 kB / 403.5 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1044, allocations: 79.22 kB / 403.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.1045, allocations: 113.8 kB / 403.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1045, allocations: 0 / 403.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.225e-05/0.1046, allocations: 33.61 kB / 403.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.1047, allocations: 134.7 kB / 403.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1048, allocations: 158.7 kB / 404 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1049, allocations: 25.7 kB / 404.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.1049, allocations: 108.1 kB / 404.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.1049, allocations: 0 / 404.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.105, allocations: 0 / 404.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1051, allocations: 314.8 kB / 404.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-06/0.1051, allocations: 0 / 404.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-06/0.1051, allocations: 4 kB / 404.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/0.1052, allocations: 87.2 kB / 404.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-05/0.1052, allocations: 79.22 kB / 404.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.925e-05/0.1053, allocations: 41.56 kB / 404.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.1053, allocations: 83.28 kB / 404.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.1054, allocations: 75.28 kB / 404.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.661e-05/0.1054, allocations: 154.5 kB / 405 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.63e-05/0.1055, allocations: 75.28 kB / 405.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.947e-05/0.1055, allocations: 162.5 kB / 405.2 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.1056, allocations: 79.27 kB / 405.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1057, allocations: 75.45 kB / 405.4 MB, free: 8.082 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.0001402/0.1058, allocations: 265.3 kB / 405.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.1059, allocations: 120.7 kB / 405.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.22e-05/0.106, allocations: 129.3 kB / 405.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.07e-05/0.106, allocations: 180.2 kB / 406.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-05/0.1061, allocations: 184.3 kB / 406.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.728e-05/0.1062, allocations: 176.3 kB / 406.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1065, allocations: 429.1 kB / 406.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/0.1065, allocations: 105 kB / 406.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1066, allocations: 108.9 kB / 407 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.751e-05/0.1066, allocations: 180.2 kB / 407.2 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/0.1067, allocations: 184.3 kB / 407.4 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-05/0.1068, allocations: 184.2 kB / 407.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.399e-05/0.1068, allocations: 176.3 kB / 407.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.107, allocations: 319.6 kB / 408.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.1071, allocations: 190 kB / 408.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.838e-05/0.1072, allocations: 184.2 kB / 408.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.1073, allocations: 101 kB / 408.5 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.1074, allocations: 192.2 kB / 408.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.1074, allocations: 101 kB / 408.8 MB, free: 4.426 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.5e-05/0.1075, allocations: 124.3 kB / 408.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1075, allocations: 0 / 408.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1078, allocations: 8 kB / 408.9 MB, free: 4.297 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 (0): * Single equations (assignments): 0 * 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.0004311/0.1082, allocations: 0.8203 MB / 409.8 MB, free: 3.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.689e-05/0.1083, allocations: 4 kB / 409.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1083, allocations: 0 / 409.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.1083, allocations: 0 / 409.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.1088, allocations: 0.5498 MB / 410.3 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.1095, allocations: 497.4 kB / 410.8 MB, free: 2.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.1099, allocations: 0.6887 MB / 411.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.988e-05/0.11, allocations: 8 kB / 411.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.11, allocations: 23.42 kB / 411.5 MB, free: 1.605 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.11, allocations: 0 / 411.5 MB, free: 1.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.1231, allocations: 2.061 MB / 413.6 MB, free: 15.54 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.1233, allocations: 168.4 kB / 413.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.813, allocations: 0 / 413.7 MB, free: 15.3 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Types.Examples.Units.pipe ; mkfifo Physiolibrary_Physiolibrary.Types.Examples.Units.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Types.Examples.Units.pipe >> ../files/Physiolibrary_Physiolibrary.Types.Examples.Units.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Types_Examples_Units_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Types_Examples_Units.fmu > Physiolibrary_Physiolibrary.Types.Examples.Units.pipe 2>&1) Environment - environmentSimulation: