Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element.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_3element,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_3element",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.Windkessel_3element,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_3element",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.0009866/0.0009866, 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.001051/0.001051, 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.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.07704/0.07704, allocations: 15.4 MB / 285.8 MB, free: 5.789 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.0005464/0.0005464, allocations: 16 kB / 347.7 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.09111, allocations: 51.42 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.Windkessel_3element): time 0.002499/0.09365, allocations: 2.134 MB / 401.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.09682, allocations: 2.001 MB / 403.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.09703, allocations: 7.938 kB / 403.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.09709, allocations: 19.83 kB / 403.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007727/0.09787, allocations: 243.2 kB / 403.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.09848, allocations: 243.3 kB / 403.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.09875, allocations: 199.6 kB / 404 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.09894, allocations: 44.22 kB / 404 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.09907, allocations: 91.7 kB / 404.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.09921, allocations: 87.61 kB / 404.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.09924, allocations: 8 kB / 404.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.662e-05/0.09927, allocations: 8 kB / 404.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.09931, allocations: 35.84 kB / 404.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.09937, allocations: 61.64 kB / 404.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.09952, allocations: 147.8 kB / 404.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.09953, allocations: 4 kB / 404.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.09954, allocations: 0 / 404.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.09955, allocations: 0 / 404.5 MB, free: 9.234 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007884/0.1003, allocations: 486.5 kB / 405 MB, free: 8.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1004, allocations: 12.03 kB / 405 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.1004, allocations: 50.55 kB / 405 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.1005, allocations: 19.72 kB / 405 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1008, allocations: 247.4 kB / 405.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.1009, allocations: 15.84 kB / 405.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.1009, allocations: 20 kB / 405.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.1012, allocations: 153.6 kB / 405.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1013, allocations: 4 kB / 405.5 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1013, allocations: 8 kB / 405.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1013, allocations: 4 kB / 405.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.1016, allocations: 139.9 kB / 405.6 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/0.1025, allocations: 0.5468 MB / 406.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1029, allocations: 166.4 kB / 406.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1029, allocations: 8 kB / 406.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.1032, allocations: 111.3 kB / 406.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1032, allocations: 3.938 kB / 406.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006465/0.1038, allocations: 245.2 kB / 406.7 MB, free: 6.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1039, allocations: 51.41 kB / 406.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.1042, allocations: 214.6 kB / 406.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1042, allocations: 29.7 kB / 407 MB, free: 6.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.1043, allocations: 132.4 kB / 407.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.1044, allocations: 51.3 kB / 407.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.1044, allocations: 0 / 407.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1045, allocations: 326.8 kB / 407.5 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1047, allocations: 51.97 kB / 407.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1048, allocations: 82.53 kB / 407.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.105, allocations: 55.98 kB / 407.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.105, allocations: 4 kB / 407.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004027/0.1054, allocations: 201.2 kB / 407.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1054, allocations: 4 kB / 407.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1054, allocations: 4 kB / 407.9 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1055, allocations: 4.031 kB / 407.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.1057, allocations: 47.91 kB / 407.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1057, allocations: 7.953 kB / 407.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.1058, allocations: 23.83 kB / 407.9 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1058, allocations: 8 kB / 408 MB, free: 5.52 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 (20): * Single equations (assignments): 20 * 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.0001958/0.106, allocations: 141.8 kB / 408.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1061, allocations: 15.81 kB / 408.1 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.1065, allocations: 195.1 kB / 408.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1065, allocations: 4 kB / 408.3 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1065, allocations: 0 / 408.3 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1065, allocations: 3.953 kB / 408.3 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.1073, allocations: 0.5302 MB / 408.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1073, allocations: 0 / 408.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1074, allocations: 31.97 kB / 408.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1074, allocations: 0 / 408.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1075, allocations: 0 / 408.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1075, allocations: 3.953 kB / 408.9 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1075, allocations: 12 kB / 408.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.1081, allocations: 359.2 kB / 409.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.1082, allocations: 108.8 kB / 409.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.1083, allocations: 4 kB / 409.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1084, allocations: 15.98 kB / 409.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.1085, allocations: 19.88 kB / 409.4 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1085, allocations: 4 kB / 409.4 MB, free: 3.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1086, allocations: 152.4 kB / 409.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1086, allocations: 0 / 409.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1089, allocations: 47.94 kB / 409.6 MB, free: 3.785 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 (15): * Single equations (assignments): 12 * 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.0008058/0.1097, allocations: 0.8801 MB / 410.5 MB, free: 2.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.1101, allocations: 151.9 kB / 410.6 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1101, allocations: 0 / 410.6 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.1103, allocations: 67.91 kB / 410.7 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1106, allocations: 39.94 kB / 410.7 MB, free: 2.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1121, allocations: 0.9838 MB / 411.7 MB, free: 1.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1125, allocations: 0.7438 MB / 412.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.7e-05/0.1126, allocations: 21.67 kB / 412.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.1127, allocations: 51.41 kB / 412.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1127, allocations: 0 / 412.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.1276, allocations: 3.578 MB / 416.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.1278, allocations: 175.5 kB / 416.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.738, allocations: 0 / 416.3 MB, free: 12.92 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element.pipe ; mkfifo Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element.pipe >> ../files/Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_3element_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_3element.fmu > Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) Environment - environmentSimulation: