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.0009467/0.0009467, allocations: 99.39 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.00107/0.00107, 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.483/1.483, 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.08771/0.08771, allocations: 15.4 MB / 285.8 MB, free: 5.91 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.0006108/0.0006109, allocations: 20 kB / 347.8 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1096, allocations: 51.41 MB / 399.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Types.Examples.Units): time 0.001749/0.1114, allocations: 1.414 MB / 400.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001031/0.1115, allocations: 67.8 kB / 400.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.1116, allocations: 0 / 400.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.1116, allocations: 11.92 kB / 400.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.1117, allocations: 63.8 kB / 400.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.652e-06/0.1118, allocations: 0 / 400.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1119, allocations: 83.78 kB / 400.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.79e-05/0.112, allocations: 11.92 kB / 400.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.873e-05/0.112, allocations: 23.94 kB / 400.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.1121, allocations: 23.88 kB / 400.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-06/0.1121, allocations: 3.938 kB / 400.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.1121, allocations: 0 / 400.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1121, allocations: 11.94 kB / 400.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.1122, allocations: 41.64 kB / 400.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.271e-05/0.1122, allocations: 40.17 kB / 401 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1122, allocations: 0 / 401 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1123, allocations: 0 / 401 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1123, allocations: 0 / 401 MB, free: 12.77 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.0003533/0.1126, allocations: 386.8 kB / 401.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1127, allocations: 11.98 kB / 401.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.1127, allocations: 105.8 kB / 401.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.1128, allocations: 87.19 kB / 401.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.113, allocations: 270 kB / 401.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/0.1131, allocations: 158.5 kB / 402 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.1131, allocations: 150.6 kB / 402.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.265e-05/0.1132, allocations: 105 kB / 402.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.1132, allocations: 75.28 kB / 402.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.1133, allocations: 154.6 kB / 402.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.1134, allocations: 154.6 kB / 402.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.813e-05/0.1134, allocations: 150.6 kB / 402.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.1137, allocations: 469.9 kB / 403.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.1138, allocations: 173.1 kB / 403.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.1139, allocations: 79.28 kB / 403.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/0.1139, allocations: 105.8 kB / 403.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1139, allocations: 0 / 403.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.163e-05/0.114, allocations: 45.58 kB / 403.6 MB, free: 9.961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.1141, allocations: 130.7 kB / 403.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1143, allocations: 162.7 kB / 403.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.1143, allocations: 25.7 kB / 403.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.1144, allocations: 104.1 kB / 404 MB, free: 9.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.1144, allocations: 0 / 404 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-06/0.1144, allocations: 0 / 404 MB, free: 9.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1145, allocations: 326.8 kB / 404.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-06/0.1145, allocations: 0 / 404.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-06/0.1146, allocations: 0 / 404.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.1146, allocations: 75.28 kB / 404.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-05/0.1146, allocations: 79.28 kB / 404.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.945e-05/0.1147, allocations: 41.56 kB / 404.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.1147, allocations: 79.28 kB / 404.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.1148, allocations: 79.22 kB / 404.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-05/0.1148, allocations: 154.6 kB / 404.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/0.1149, allocations: 83.2 kB / 404.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-05/0.115, allocations: 162.5 kB / 405.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.1151, allocations: 79.44 kB / 405.1 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.1151, allocations: 83.22 kB / 405.2 MB, free: 8.273 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.0001256/0.1152, allocations: 260.4 kB / 405.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-05/0.1153, allocations: 124.8 kB / 405.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.1154, allocations: 121.2 kB / 405.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.389e-05/0.1155, allocations: 184.3 kB / 405.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.277e-05/0.1155, allocations: 180.2 kB / 406.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.37e-05/0.1156, allocations: 180.2 kB / 406.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.1159, allocations: 421.2 kB / 406.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.693e-05/0.1159, allocations: 104.9 kB / 406.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.116, allocations: 113 kB / 406.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.961e-05/0.1161, allocations: 184.2 kB / 407 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/0.1162, allocations: 180.2 kB / 407.2 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.674e-05/0.1162, allocations: 176.3 kB / 407.4 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.806e-05/0.1163, allocations: 188.2 kB / 407.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.1164, allocations: 315.7 kB / 407.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.1165, allocations: 182 kB / 408.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.1166, allocations: 184.2 kB / 408.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.1167, allocations: 108.9 kB / 408.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.1168, allocations: 176.3 kB / 408.5 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.1168, allocations: 112.9 kB / 408.6 MB, free: 4.629 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1169, allocations: 124.3 kB / 408.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.117, allocations: 0 / 408.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1172, allocations: 12 kB / 408.8 MB, free: 4.496 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.0004124/0.1177, allocations: 0.8048 MB / 409.6 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.526e-05/0.1177, allocations: 7.938 kB / 409.6 MB, free: 3.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1177, allocations: 3.938 kB / 409.6 MB, free: 3.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1177, allocations: 0 / 409.6 MB, free: 3.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.1182, allocations: 0.5432 MB / 410.1 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.1189, allocations: 497.4 kB / 410.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1192, allocations: 0.6965 MB / 411.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.697e-05/0.1192, allocations: 3.984 kB / 411.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.1193, allocations: 31.42 kB / 411.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1193, allocations: 0 / 411.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.1323, allocations: 2.05 MB / 413.4 MB, free: 15.76 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.1326, allocations: 159.7 kB / 413.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.688, allocations: 0 / 413.5 MB, free: 15.52 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: