Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.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.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation",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.001027/0.001027, 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.001293/0.001293, allocations: 177.3 kB / 15.94 MB, free: 228 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.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.07919/0.07919, allocations: 15.39 MB / 285.8 MB, free: 5.801 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.0005094/0.0005094, allocations: 12 kB / 347.8 MB, free: 18.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08711/0.08763, allocations: 51.4 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.003155/0.09082, allocations: 3.058 MB / 402.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006028/0.09688, allocations: 4.436 MB / 406.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.09715, allocations: 15.88 kB / 406.7 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.255e-05/0.09725, allocations: 47.59 kB / 406.7 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.09861, allocations: 0.5957 MB / 407.3 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.09996, allocations: 0.604 MB / 407.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005922/0.1006, allocations: 487.3 kB / 408.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.1008, allocations: 111.3 kB / 408.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.101, allocations: 183.3 kB / 408.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.1013, allocations: 207 kB / 408.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.1013, allocations: 16 kB / 408.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.1014, allocations: 20 kB / 408.9 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.1014, allocations: 67.62 kB / 409 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.838e-05/0.1015, allocations: 121.4 kB / 409.1 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1018, allocations: 335.3 kB / 409.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1018, allocations: 0 / 409.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1018, allocations: 0 / 409.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1018, allocations: 0 / 409.4 MB, free: 4.262 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.0009762/0.1028, allocations: 0.6931 MB / 410.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1029, allocations: 8.031 kB / 410.1 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.384e-05/0.103, allocations: 66.48 kB / 410.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.103, allocations: 55.33 kB / 410.3 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.1035, allocations: 376.9 kB / 410.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1036, allocations: 24.66 kB / 410.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.1036, allocations: 43.95 kB / 410.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.1042, allocations: 286 kB / 411 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1042, allocations: 4 kB / 411 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.1042, allocations: 12 kB / 411 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.1042, allocations: 8 kB / 411 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.1048, allocations: 254.4 kB / 411.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.1063, allocations: 0.9906 MB / 412.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.1068, allocations: 263.1 kB / 412.5 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1068, allocations: 12.17 kB / 412.5 MB, free: 1.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1069, allocations: 34.75 kB / 412.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.1069, allocations: 0 / 412.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007277/0.1076, allocations: 354.8 kB / 412.9 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.1077, allocations: 51.41 kB / 412.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.1081, allocations: 430 kB / 413.3 MB, free: 136 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1081, allocations: 37.7 kB / 413.4 MB, free: 92 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1083, allocations: 228.6 kB / 413.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.1084, allocations: 82.75 kB / 413.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.1084, allocations: 4 kB / 413.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1085, allocations: 358.8 kB / 414 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.1087, allocations: 99.8 kB / 414.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.109, allocations: 132.2 kB / 414.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.1092, allocations: 112 kB / 414.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1092, allocations: 0 / 414.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005697/0.1098, allocations: 340.9 kB / 414.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1098, allocations: 4 kB / 414.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1098, allocations: 0 / 414.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1098, allocations: 4 kB / 414.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.1102, allocations: 80.02 kB / 414.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1102, allocations: 4 kB / 414.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1104, allocations: 51.47 kB / 414.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1104, allocations: 8 kB / 414.9 MB, free: 14.58 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 (36): * Single equations (assignments): 36 * 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.0001352/0.1106, allocations: 149.8 kB / 415 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.1106, allocations: 47.44 kB / 415.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.1112, allocations: 302.1 kB / 415.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1113, allocations: 7.938 kB / 415.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1113, allocations: 0 / 415.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1113, allocations: 3.984 kB / 415.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.1117, allocations: 401.2 kB / 415.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1117, allocations: 0 / 415.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.112, allocations: 51.91 kB / 415.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.112, allocations: 11.98 kB / 415.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.112, allocations: 4 kB / 415.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.112, allocations: 4 kB / 415.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.112, allocations: 0 / 415.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.1128, allocations: 483.6 kB / 416.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.1129, allocations: 140.5 kB / 416.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.113, allocations: 8 kB / 416.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.1132, allocations: 15.98 kB / 416.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.1132, allocations: 11.98 kB / 416.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.1133, allocations: 11.98 kB / 416.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.1136, allocations: 290.9 kB / 416.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1136, allocations: 0 / 416.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.1139, allocations: 95.84 kB / 416.9 MB, free: 12.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (PulmonaryArteries.state,PulmonaryVeins.state,SystemicVeins.state,SystemicArteries.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 (22): * Single equations (assignments): 22 * 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.0009894/0.1149, allocations: 1.02 MB / 417.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004745/0.1154, allocations: 248 kB / 418.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1154, allocations: 0 / 418.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.1156, allocations: 116.7 kB / 418.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.1161, allocations: 106.2 kB / 418.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.1177, allocations: 1.791 MB / 420.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1181, allocations: 0.8349 MB / 421 MB, free: 8.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.1182, allocations: 51.47 kB / 421 MB, free: 8.199 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.1184, allocations: 151.4 kB / 421.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1184, allocations: 0 / 421.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/0.2718, allocations: 8.102 MB / 429.3 MB, free: 35.76 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001214/0.2719, allocations: 200.9 kB / 429.5 MB, free: 35.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.917, allocations: 5.594 kB / 429.5 MB, free: 35.52 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation.fmu > Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) Environment - environmentSimulation: