Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element.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_2element,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_2element",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.Windkessel_2element,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_2element",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.0008989/0.0008988, 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.001028/0.001029, 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.426/1.426, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.083/0.083, allocations: 15.4 MB / 285.8 MB, free: 5.926 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.0005311/0.0005312, allocations: 19.98 kB / 347.8 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08435/0.08489, allocations: 51.41 MB / 399.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.Windkessel_2element): time 0.002309/0.08724, allocations: 2.021 MB / 401.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.09012, allocations: 1.962 MB / 403.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.09025, allocations: 7.938 kB / 403.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.046e-05/0.09031, allocations: 11.91 kB / 403.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006504/0.09097, allocations: 235.1 kB / 403.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.09154, allocations: 231.5 kB / 403.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.09179, allocations: 175.5 kB / 403.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.09193, allocations: 37.64 kB / 403.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.09206, allocations: 67.78 kB / 403.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.0922, allocations: 79.69 kB / 404 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.09223, allocations: 8 kB / 404 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.305e-05/0.09226, allocations: 4 kB / 404 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.0923, allocations: 31.84 kB / 404 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.09236, allocations: 53.64 kB / 404.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.0925, allocations: 127.9 kB / 404.2 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.09251, allocations: 0 / 404.2 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09252, allocations: 0 / 404.2 MB, free: 9.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.09253, allocations: 0 / 404.2 MB, free: 9.527 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006679/0.0932, allocations: 462.6 kB / 404.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.09325, allocations: 8.031 kB / 404.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.0933, allocations: 42.56 kB / 404.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.09335, allocations: 23.72 kB / 404.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.09363, allocations: 250.5 kB / 405 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.09366, allocations: 12 kB / 405 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.09369, allocations: 12 kB / 405 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.094, allocations: 142.1 kB / 405.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.09402, allocations: 3.938 kB / 405.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.09404, allocations: 0 / 405.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.09405, allocations: 4 kB / 405.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.09434, allocations: 119.9 kB / 405.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.09516, allocations: 0.5 MB / 405.7 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.09556, allocations: 150.5 kB / 405.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.09559, allocations: 4 kB / 405.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.09585, allocations: 111.3 kB / 406 MB, free: 7.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.09586, allocations: 0 / 406 MB, free: 7.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005269/0.09639, allocations: 221.4 kB / 406.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.09645, allocations: 59.41 kB / 406.3 MB, free: 7.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.09665, allocations: 195.7 kB / 406.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.09668, allocations: 29.7 kB / 406.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.09676, allocations: 119.8 kB / 406.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.09681, allocations: 47.38 kB / 406.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.09683, allocations: 0 / 406.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.09696, allocations: 334.8 kB / 407 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.0971, allocations: 55.97 kB / 407 MB, free: 6.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.09726, allocations: 75.52 kB / 407.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.09741, allocations: 59.97 kB / 407.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.09742, allocations: 0 / 407.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003519/0.09778, allocations: 185.4 kB / 407.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.09781, allocations: 4 kB / 407.4 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.09782, allocations: 0 / 407.4 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.09784, allocations: 7.984 kB / 407.4 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.09799, allocations: 31.98 kB / 407.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.09801, allocations: 0 / 407.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.09813, allocations: 28.05 kB / 407.4 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.09816, allocations: 8 kB / 407.4 MB, free: 6.039 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: 3 * 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 (18): * Single equations (assignments): 18 * 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.0001583/0.09832, allocations: 141.7 kB / 407.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.09835, allocations: 11.81 kB / 407.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.09872, allocations: 183.1 kB / 407.8 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.09874, allocations: 7.938 kB / 407.8 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.09875, allocations: 3.984 kB / 407.8 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.09876, allocations: 0 / 407.8 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.09938, allocations: 0.4991 MB / 408.3 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.09939, allocations: 0 / 408.3 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.09952, allocations: 31.92 kB / 408.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.09954, allocations: 3.984 kB / 408.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.09955, allocations: 4 kB / 408.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.09956, allocations: 0 / 408.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.09957, allocations: 0 / 408.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.1001, allocations: 335.3 kB / 408.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.1002, allocations: 104.9 kB / 408.7 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.1002, allocations: 3.984 kB / 408.8 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1004, allocations: 24.05 kB / 408.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.1004, allocations: 7.984 kB / 408.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1005, allocations: 4 kB / 408.8 MB, free: 4.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1006, allocations: 141.5 kB / 408.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1006, allocations: 0 / 408.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1009, allocations: 39.91 kB / 409 MB, free: 4.414 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (arteries.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 (13): * Single equations (assignments): 10 * 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.0008067/0.1017, allocations: 0.8724 MB / 409.8 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.102, allocations: 127.9 kB / 410 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.102, allocations: 0 / 410 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1022, allocations: 75.95 kB / 410 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1024, allocations: 27.92 kB / 410.1 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1034, allocations: 0.9492 MB / 411 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1037, allocations: 0.7283 MB / 411.7 MB, free: 1.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.1038, allocations: 21.67 kB / 411.8 MB, free: 1.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.1039, allocations: 43.42 kB / 411.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1039, allocations: 4 kB / 411.8 MB, free: 1.457 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.117, allocations: 3.274 MB / 415.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.1173, allocations: 183.5 kB / 415.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.729, allocations: 7.938 kB / 415.3 MB, free: 13.93 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element.pipe ; mkfifo Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element.pipe >> ../files/Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_2element_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_2element.fmu > Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) Environment - environmentSimulation: