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: translateModel(Physiolibrary.Hydraulic.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element") translateModel(Physiolibrary.Hydraulic.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 98.45 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.00112/0.001121, 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.315/1.315, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.07779/0.07779, allocations: 15.4 MB / 285.8 MB, free: 5.773 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.0009547/0.0009549, allocations: 16 kB / 347.6 MB, free: 18.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1144, allocations: 51.41 MB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.Windkessel_2element): time 0.002539/0.117, allocations: 2.017 MB / 401.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.1202, allocations: 1.973 MB / 403 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.1204, allocations: 4 kB / 403.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.473e-05/0.1204, allocations: 15.84 kB / 403.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008768/0.1213, allocations: 231.2 kB / 403.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.122, allocations: 235.4 kB / 403.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.1223, allocations: 167.6 kB / 403.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1225, allocations: 37.64 kB / 403.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1226, allocations: 67.72 kB / 403.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1228, allocations: 75.69 kB / 403.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1228, allocations: 12 kB / 403.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.643e-05/0.1228, allocations: 8 kB / 403.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.1229, allocations: 27.84 kB / 403.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.123, allocations: 57.64 kB / 404 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1231, allocations: 119.9 kB / 404.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1231, allocations: 0 / 404.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1232, allocations: 4 kB / 404.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1232, allocations: 0 / 404.1 MB, free: 9.605 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.0008601/0.124, allocations: 466.6 kB / 404.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1241, allocations: 8.031 kB / 404.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.1242, allocations: 23.7 kB / 404.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1245, allocations: 242.6 kB / 404.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1245, allocations: 11.94 kB / 404.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.1245, allocations: 19.94 kB / 404.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1249, allocations: 142.1 kB / 405 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1249, allocations: 0 / 405 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.1249, allocations: 8 kB / 405 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.125, allocations: 7.938 kB / 405 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.1253, allocations: 123.9 kB / 405.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008844/0.1262, allocations: 0.4884 MB / 405.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.1266, allocations: 158.4 kB / 405.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1266, allocations: 0 / 405.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.1269, allocations: 103.4 kB / 405.9 MB, free: 7.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1269, allocations: 0 / 405.9 MB, free: 7.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005456/0.1274, allocations: 229.3 kB / 406.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1275, allocations: 63.39 kB / 406.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1277, allocations: 187.7 kB / 406.3 MB, free: 7.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1277, allocations: 29.7 kB / 406.4 MB, free: 7.129 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.1278, allocations: 127.8 kB / 406.5 MB, free: 7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.1279, allocations: 39.47 kB / 406.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.1279, allocations: 0 / 406.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.128, allocations: 334.8 kB / 406.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1281, allocations: 55.91 kB / 406.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1283, allocations: 70.55 kB / 407 MB, free: 6.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1284, allocations: 59.97 kB / 407 MB, free: 6.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1284, allocations: 0 / 407 MB, free: 6.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003286/0.1288, allocations: 181.4 kB / 407.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1288, allocations: 15.14 kB / 407.2 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1288, allocations: 7.938 kB / 407.2 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1288, allocations: 0 / 407.2 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.129, allocations: 31.98 kB / 407.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.129, allocations: 4 kB / 407.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1291, allocations: 23.83 kB / 407.3 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1292, allocations: 8 kB / 407.3 MB, free: 6.164 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.0001589/0.1293, allocations: 141.9 kB / 407.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.1293, allocations: 15.81 kB / 407.5 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.1297, allocations: 187.1 kB / 407.6 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1297, allocations: 0 / 407.6 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1297, allocations: 0 / 407.6 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1298, allocations: 0 / 407.6 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.1305, allocations: 0.4983 MB / 408.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1305, allocations: 3.938 kB / 408.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.1306, allocations: 31.97 kB / 408.2 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1306, allocations: 4 kB / 408.2 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1307, allocations: 8 kB / 408.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1307, allocations: 0 / 408.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1307, allocations: 0 / 408.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.1312, allocations: 344 kB / 408.5 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/0.1313, allocations: 104.9 kB / 408.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1313, allocations: 8 kB / 408.6 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1315, allocations: 11.98 kB / 408.6 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1315, allocations: 12.05 kB / 408.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1316, allocations: 8 kB / 408.7 MB, free: 4.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1317, allocations: 137.5 kB / 408.8 MB, free: 4.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1317, allocations: 0 / 408.8 MB, free: 4.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1319, allocations: 43.91 kB / 408.8 MB, free: 4.527 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 9.032e-05/0.132, allocations: 91.25 kB / 408.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.1324, allocations: 135.9 kB / 409.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1324, allocations: 0 / 409.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1325, allocations: 71.91 kB / 409.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.1328, allocations: 32 kB / 409.2 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.1334, allocations: 404.3 kB / 409.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1337, allocations: 0.7283 MB / 410.3 MB, free: 3.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.384e-05/0.1337, allocations: 21.67 kB / 410.3 MB, free: 2.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.1338, allocations: 19.42 kB / 410.3 MB, free: 2.977 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1338, allocations: 8 kB / 410.3 MB, free: 2.969 MB / 302.1 MB Notification: Performance of Templates: time 0.004033/0.1378, allocations: 1.605 MB / 411.9 MB, free: 1.363 MB / 302.1 MB make -j1 -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element.makefile Environment - environmentSimulation: (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 & ./Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) Environment - environmentSimulation: