Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_4element.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.Windkessel_4element,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_4element",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.Windkessel_4element,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_4element",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.0008695/0.0008695, allocations: 99.55 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.0009395/0.0009395, 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.46/1.46, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.07511/0.07511, allocations: 15.4 MB / 285.8 MB, free: 5.785 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.000534/0.0005342, allocations: 16 kB / 347.8 MB, free: 18.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09269, allocations: 51.42 MB / 399.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.Windkessel_4element): time 0.002385/0.09511, allocations: 2.278 MB / 401.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003785/0.09891, allocations: 2.764 MB / 404.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.09907, allocations: 7.938 kB / 404.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.109e-05/0.09913, allocations: 27.83 kB / 404.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008637/0.1, allocations: 334.8 kB / 404.6 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008311/0.1008, allocations: 363.1 kB / 404.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.1012, allocations: 243.5 kB / 405.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1014, allocations: 64.97 kB / 405.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1015, allocations: 99.62 kB / 405.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.1017, allocations: 115.5 kB / 405.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1018, allocations: 12 kB / 405.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/0.1018, allocations: 12 kB / 405.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.1019, allocations: 39.83 kB / 405.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.1019, allocations: 73.58 kB / 405.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1021, allocations: 179.8 kB / 405.7 MB, free: 7.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1021, allocations: 0 / 405.7 MB, free: 7.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1021, allocations: 0 / 405.7 MB, free: 7.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1022, allocations: 0 / 405.7 MB, free: 7.949 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008497/0.103, allocations: 0.5369 MB / 406.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1031, allocations: 12.03 kB / 406.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.1031, allocations: 54.53 kB / 406.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.1032, allocations: 31.66 kB / 406.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1035, allocations: 273.5 kB / 406.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1036, allocations: 19.97 kB / 406.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.1036, allocations: 24 kB / 406.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.104, allocations: 189.5 kB / 406.9 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.104, allocations: 3.938 kB / 406.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.104, allocations: 11.95 kB / 406.9 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.104, allocations: 4 kB / 406.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.1044, allocations: 167.9 kB / 407.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000984/0.1054, allocations: 0.6208 MB / 407.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.1059, allocations: 279.6 kB / 408 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.106, allocations: 7.953 kB / 408 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.1062, allocations: 139.5 kB / 408.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.1063, allocations: 0 / 408.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005782/0.1068, allocations: 269.3 kB / 408.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.1069, allocations: 55.39 kB / 408.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.1071, allocations: 234.5 kB / 408.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1072, allocations: 29.7 kB / 408.7 MB, free: 4.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.1073, allocations: 144.4 kB / 408.8 MB, free: 4.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.1073, allocations: 67.09 kB / 408.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.1074, allocations: 0 / 408.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1075, allocations: 338.8 kB / 409.2 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.1077, allocations: 68.19 kB / 409.3 MB, free: 4.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1079, allocations: 108 kB / 409.4 MB, free: 4.055 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.108, allocations: 68.92 kB / 409.4 MB, free: 3.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1081, allocations: 0 / 409.4 MB, free: 3.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004248/0.1085, allocations: 246.8 kB / 409.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1085, allocations: 4 kB / 409.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.1085, allocations: 0 / 409.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1086, allocations: 4 kB / 409.7 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.1088, allocations: 63.97 kB / 409.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1088, allocations: 0 / 409.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1089, allocations: 23.83 kB / 409.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.109, allocations: 15.94 kB / 409.8 MB, free: 3.633 MB / 302.1 MB Warning: Assuming fixed start value for the following 2 variables: pulses.T0:DISCRETE(unit = "s" fixed = true nominal = 60.0 ) "beginning of cardiac cycle" type: Real pulses.HP:DISCRETE(unit = "s" fixed = true nominal = 60.0 ) "duration of cardiac cycle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulses.T0,pulses.b,$PRE.pulses.HP,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001735/0.1091, allocations: 153.6 kB / 409.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1092, allocations: 23.72 kB / 410 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.1096, allocations: 231.6 kB / 410.2 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.1097, allocations: 4 kB / 410.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1097, allocations: 0 / 410.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1097, allocations: 0 / 410.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007827/0.1105, allocations: 0.588 MB / 410.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1105, allocations: 0 / 410.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.1107, allocations: 39.91 kB / 410.8 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1107, allocations: 4 kB / 410.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1107, allocations: 4 kB / 410.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1107, allocations: 0 / 410.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1107, allocations: 4 kB / 410.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.1113, allocations: 396.1 kB / 411.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.1114, allocations: 112.8 kB / 411.3 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.1115, allocations: 8 kB / 411.3 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1116, allocations: 15.98 kB / 411.4 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.1117, allocations: 15.92 kB / 411.4 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.1117, allocations: 12.05 kB / 411.4 MB, free: 1.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1118, allocations: 170 kB / 411.6 MB, free: 1.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1118, allocations: 0 / 411.6 MB, free: 1.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1121, allocations: 59.91 kB / 411.6 MB, free: 1.711 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,inertia.state) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009033/0.113, allocations: 0.927 MB / 412.5 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.1134, allocations: 171.9 kB / 412.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1134, allocations: 0 / 412.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.1136, allocations: 87.89 kB / 412.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.1139, allocations: 44.61 kB / 412.8 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1152, allocations: 1.251 MB / 414.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1155, allocations: 0.7563 MB / 414.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.698e-05/0.1156, allocations: 26.06 kB / 414.9 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1157, allocations: 75.41 kB / 414.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1157, allocations: 3.938 kB / 414.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.1311, allocations: 4.23 MB / 419.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.1313, allocations: 183.5 kB / 419.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.732, allocations: 0 / 419.4 MB, free: 9.785 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_4element.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_4element_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_4element.fmu > Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_4element.pipe 2>&1) Environment - environmentSimulation: