Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.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.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",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.0009181/0.000918, allocations: 99.62 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.0009905/0.0009904, 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.246/1.246, 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.07306/0.07306, 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.0005249/0.0005249, allocations: 16 kB / 347.8 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08645/0.08698, allocations: 51.4 MB / 399.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.ThermalBody_QHP): time 0.003489/0.09053, allocations: 3.228 MB / 402.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006138/0.09672, allocations: 4.385 MB / 406.8 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.09726, allocations: 15.88 kB / 406.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.09742, allocations: 59.52 kB / 406.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.09923, allocations: 0.5918 MB / 407.4 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.1008, allocations: 0.608 MB / 408 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007349/0.1015, allocations: 479.5 kB / 408.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.1018, allocations: 139.6 kB / 408.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.102, allocations: 167.4 kB / 408.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.1023, allocations: 203 kB / 409 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.1023, allocations: 20 kB / 409 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.72e-05/0.1024, allocations: 20 kB / 409 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.1025, allocations: 63.7 kB / 409.1 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1026, allocations: 125.4 kB / 409.2 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1029, allocations: 367.2 kB / 409.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.103, allocations: 0 / 409.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.103, allocations: 4 kB / 409.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.103, allocations: 0 / 409.6 MB, free: 4.113 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001051/0.104, allocations: 0.7242 MB / 410.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1041, allocations: 12.03 kB / 410.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.1042, allocations: 66.53 kB / 410.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.1043, allocations: 59.28 kB / 410.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.1048, allocations: 380.8 kB / 410.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.1048, allocations: 28.66 kB / 410.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.1049, allocations: 36 kB / 410.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.1053, allocations: 266 kB / 411.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1053, allocations: 0 / 411.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.1054, allocations: 16 kB / 411.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1054, allocations: 12 kB / 411.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.1057, allocations: 198.5 kB / 411.4 MB, free: 2.23 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.001961/0.1077, allocations: 1.673 MB / 413 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.1081, allocations: 227 kB / 413.3 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.1081, allocations: 240 / 413.3 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1081, allocations: 42.78 kB / 413.3 MB, free: 68 kB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.132e-06/0.1081, allocations: 0 / 413.3 MB, free: 68 kB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005922/0.1087, allocations: 320.5 kB / 413.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1088, allocations: 55.41 kB / 413.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.1092, allocations: 385.9 kB / 414.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1092, allocations: 33.7 kB / 414.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1093, allocations: 232.4 kB / 414.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.1094, allocations: 94.56 kB / 414.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.1094, allocations: 8 kB / 414.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1095, allocations: 354.7 kB / 414.8 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1097, allocations: 80.62 kB / 414.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1099, allocations: 133.4 kB / 415 MB, free: 14.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.11, allocations: 99.98 kB / 415.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.11, allocations: 0 / 415.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004182/0.1105, allocations: 308.7 kB / 415.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1105, allocations: 4 kB / 415.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1105, allocations: 4 kB / 415.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1105, allocations: 0 / 415.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.1108, allocations: 64.03 kB / 415.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1108, allocations: 8 kB / 415.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.111, allocations: 39.58 kB / 415.5 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1111, allocations: 15.95 kB / 415.5 MB, free: 13.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 39 * 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.000147/0.1112, allocations: 157.7 kB / 415.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.1113, allocations: 43.44 kB / 415.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.1114, allocations: 60.64 kB / 415.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1114, allocations: 8 kB / 415.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1114, allocations: 0 / 415.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1114, allocations: 0 / 415.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.1119, allocations: 433.1 kB / 416.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1119, allocations: 0 / 416.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.1121, allocations: 51.91 kB / 416.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1121, allocations: 0 / 416.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1122, allocations: 8 kB / 416.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1122, allocations: 0 / 416.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1122, allocations: 0 / 416.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.1128, allocations: 478.8 kB / 416.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.1129, allocations: 136.5 kB / 416.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.113, allocations: 11.94 kB / 416.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1131, allocations: 7.938 kB / 416.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1132, allocations: 23.95 kB / 416.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1132, allocations: 4 kB / 416.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.1135, allocations: 263.2 kB / 417.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1135, allocations: 8 kB / 417.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.1138, allocations: 99.75 kB / 417.3 MB, free: 11.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (core.state,GILumen.state,skeletalMuscle.state,skin.state) * 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 (27): * Single equations (assignments): 27 * 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.0008058/0.1146, allocations: 1.01 MB / 418.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.115, allocations: 223.7 kB / 418.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.115, allocations: 8.188 kB / 418.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1152, allocations: 103.9 kB / 418.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.1156, allocations: 69.92 kB / 418.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.1174, allocations: 1.865 MB / 420.5 MB, free: 8.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1177, allocations: 0.8306 MB / 421.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.1179, allocations: 39.27 kB / 421.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.1181, allocations: 151.4 kB / 421.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1181, allocations: 0 / 421.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.1361, allocations: 6.907 MB / 428.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.1363, allocations: 181.3 kB / 428.6 MB, free: 384 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.839, allocations: 0 / 428.6 MB, free: 384 kB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) Environment - environmentSimulation: