Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Hydraulic.Examples.MinimalCirculation.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.MinimalCirculation,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_MinimalCirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.MinimalCirculation,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_MinimalCirculation",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.0009582/0.0009582, allocations: 99.7 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.001014/0.001014, 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.414/1.414, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.09554/0.09554, allocations: 15.39 MB / 285.8 MB, free: 5.902 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.000567/0.0005671, allocations: 16 kB / 347.8 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09885, allocations: 51.41 MB / 399.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.MinimalCirculation): time 0.002452/0.1013, allocations: 2.287 MB / 401.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.1049, allocations: 2.745 MB / 404.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.1051, allocations: 7.938 kB / 404.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.61e-05/0.1051, allocations: 31.77 kB / 404.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008353/0.106, allocations: 334.8 kB / 404.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.1068, allocations: 359.1 kB / 404.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.1072, allocations: 231.4 kB / 405.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1073, allocations: 56.86 kB / 405.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1074, allocations: 99.62 kB / 405.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1076, allocations: 115.5 kB / 405.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1077, allocations: 8 kB / 405.4 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.455e-05/0.1077, allocations: 12 kB / 405.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.1077, allocations: 35.83 kB / 405.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.1078, allocations: 69.58 kB / 405.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.108, allocations: 171.7 kB / 405.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.108, allocations: 0 / 405.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.108, allocations: 0 / 405.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.108, allocations: 0 / 405.7 MB, free: 8.016 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008286/0.1089, allocations: 0.5506 MB / 406.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1089, allocations: 8.031 kB / 406.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.109, allocations: 50.55 kB / 406.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.109, allocations: 35.58 kB / 406.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1093, allocations: 269.6 kB / 406.6 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1094, allocations: 16 kB / 406.6 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.1094, allocations: 16 kB / 406.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.1098, allocations: 185.1 kB / 406.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1098, allocations: 7.906 kB / 406.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1099, allocations: 8 kB / 406.8 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1099, allocations: 4 kB / 406.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.1103, allocations: 175.8 kB / 407 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1114, allocations: 0.6051 MB / 407.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.1119, allocations: 279.5 kB / 407.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1119, allocations: 4 kB / 407.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.1123, allocations: 139.2 kB / 408 MB, free: 5.488 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.1123, allocations: 0 / 408 MB, free: 5.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007283/0.113, allocations: 289.1 kB / 408.3 MB, free: 5.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1131, allocations: 59.41 kB / 408.4 MB, free: 5.129 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.1133, allocations: 250.6 kB / 408.6 MB, free: 4.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1133, allocations: 29.7 kB / 408.6 MB, free: 4.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.1134, allocations: 148.4 kB / 408.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.1135, allocations: 51.34 kB / 408.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.1135, allocations: 4 kB / 408.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1136, allocations: 330.8 kB / 409.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.1139, allocations: 83.94 kB / 409.2 MB, free: 4.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1141, allocations: 106.7 kB / 409.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1143, allocations: 106.6 kB / 409.4 MB, free: 4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1144, allocations: 0 / 409.4 MB, free: 4 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005681/0.1149, allocations: 292.5 kB / 409.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.115, allocations: 33.7 kB / 409.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.115, allocations: 4.062 kB / 409.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.115, allocations: 0 / 409.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1152, allocations: 63.84 kB / 409.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.1153, allocations: 4 kB / 409.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.1154, allocations: 35.67 kB / 409.9 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.1155, allocations: 8 kB / 409.9 MB, free: 3.551 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001307/0.1156, allocations: 141.8 kB / 410 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1156, allocations: 23.7 kB / 410 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.1162, allocations: 223.4 kB / 410.3 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.1162, allocations: 4 kB / 410.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1162, allocations: 3.953 kB / 410.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1162, allocations: 0 / 410.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000856/0.1171, allocations: 0.5606 MB / 410.8 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1171, allocations: 3.984 kB / 410.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.1173, allocations: 43.97 kB / 410.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1173, allocations: 0 / 410.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1173, allocations: 7.953 kB / 410.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1174, allocations: 0 / 410.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1174, allocations: 0 / 410.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007383/0.1181, allocations: 407 kB / 411.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.1182, allocations: 104.8 kB / 411.4 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1182, allocations: 11.98 kB / 411.4 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.1184, allocations: 19.94 kB / 411.4 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.1185, allocations: 23.91 kB / 411.4 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1185, allocations: 4 kB / 411.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.1187, allocations: 174 kB / 411.6 MB, free: 1.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1187, allocations: 7.938 kB / 411.6 MB, free: 1.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000292/0.119, allocations: 55.84 kB / 411.7 MB, free: 1.648 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.state,veins.state) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00095/0.1199, allocations: 0.927 MB / 412.6 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.1205, allocations: 247.4 kB / 412.8 MB, free: 456 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1205, allocations: 0 / 412.8 MB, free: 456 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.1207, allocations: 91.83 kB / 412.9 MB, free: 364 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1211, allocations: 52.61 kB / 413 MB, free: 312 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1225, allocations: 1.066 MB / 414 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1229, allocations: 0.756 MB / 414.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.123, allocations: 29.94 kB / 414.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.1231, allocations: 75.41 kB / 414.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1231, allocations: 0 / 414.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.1403, allocations: 4.524 MB / 419.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.1405, allocations: 178.3 kB / 419.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.801, allocations: 0 / 419.6 MB, free: 9.516 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Hydraulic.Examples.MinimalCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Hydraulic.Examples.MinimalCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Hydraulic.Examples.MinimalCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Hydraulic.Examples.MinimalCirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Hydraulic_Examples_MinimalCirculation_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Hydraulic_Examples_MinimalCirculation.fmu > Physiolibrary_Physiolibrary.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) Environment - environmentSimulation: