Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.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.Kofranek2014.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation") translateModel(Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008583/0.0008584, allocations: 99.86 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.0009584/0.0009585, 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.269/1.269, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.07596/0.07596, allocations: 15.4 MB / 285.8 MB, free: 5.887 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.0005312/0.0005314, allocations: 16 kB / 347.7 MB, free: 18.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08099/0.08153, allocations: 51.42 MB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.003765/0.08533, allocations: 3.713 MB / 402.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005818/0.09118, allocations: 4.607 MB / 407.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/0.0916, allocations: 15.88 kB / 407.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.09174, allocations: 59.52 kB / 407.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.09332, allocations: 0.6346 MB / 408.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.09498, allocations: 0.6352 MB / 408.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008717/0.09586, allocations: 0.5929 MB / 409.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.09614, allocations: 160.9 kB / 409.5 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.09642, allocations: 231.2 kB / 409.7 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.09677, allocations: 278.8 kB / 410 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.09682, allocations: 23.94 kB / 410 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.0969, allocations: 20 kB / 410 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.09698, allocations: 83.61 kB / 410.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.09711, allocations: 145.4 kB / 410.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.09751, allocations: 470.9 kB / 410.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.09753, allocations: 0 / 410.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.09753, allocations: 0 / 410.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.09755, allocations: 0 / 410.7 MB, free: 2.977 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001352/0.09891, allocations: 0.831 MB / 411.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.09895, allocations: 16 kB / 411.6 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.09906, allocations: 63.25 kB / 411.6 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.09961, allocations: 416.7 kB / 412 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.09966, allocations: 37 kB / 412.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.09973, allocations: 44 kB / 412.1 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/0.1005, allocations: 426.3 kB / 412.5 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.1005, allocations: 3.906 kB / 412.5 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.1005, allocations: 19.98 kB / 412.5 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1005, allocations: 16 kB / 412.6 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008413/0.1014, allocations: 379.8 kB / 412.9 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.1033, allocations: 1.23 MB / 414.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.1041, allocations: 411.2 kB / 414.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.1041, allocations: 12.27 kB / 414.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/0.1047, allocations: 243.3 kB / 414.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 3.426e-06/0.1047, allocations: 0 / 414.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001306/0.106, allocations: 0.5794 MB / 415.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1061, allocations: 63.39 kB / 415.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.1066, allocations: 450.9 kB / 415.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.1066, allocations: 37.64 kB / 415.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.1068, allocations: 256.5 kB / 416.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.571e-05/0.1069, allocations: 110.4 kB / 416.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.1069, allocations: 12 kB / 416.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1071, allocations: 366.8 kB / 416.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.1075, allocations: 152.8 kB / 416.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.1079, allocations: 226.1 kB / 417 MB, free: 12.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.1082, allocations: 179.6 kB / 417.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1083, allocations: 0 / 417.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008877/0.1092, allocations: 0.4964 MB / 417.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1092, allocations: 8 kB / 417.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1092, allocations: 96 / 417.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1092, allocations: 7.984 kB / 417.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.1096, allocations: 107.8 kB / 417.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1097, allocations: 4 kB / 417.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.11, allocations: 75.5 kB / 417.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.1101, allocations: 19.98 kB / 417.9 MB, free: 11.51 MB / 318.1 MB Warning: Assuming fixed start value for the following 4 variables: rightHeart.pulses.T0:DISCRETE(unit = "s" fixed = true nominal = 60.0 ) "beginning of cardiac cycle" type: Real rightHeart.pulses.HP:DISCRETE(unit = "s" fixed = true nominal = 60.0 ) "duration of cardiac cycle" type: Real leftHeart.pulses.T0:DISCRETE(unit = "s" fixed = true nominal = 60.0 ) "beginning of cardiac cycle" type: Real leftHeart.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: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$PRE.rightHeart.pulses.T0,rightHeart.pulses.b,$PRE.rightHeart.pulses.HP,$whenCondition2,$PRE.leftHeart.pulses.T0,leftHeart.pulses.b,$PRE.leftHeart.pulses.HP,rightHeart.pulses.T0,rightHeart.pulses.HP,rightHeart.pulses.TD2,leftHeart.pulses.T0,leftHeart.pulses.HP,leftHeart.pulses.TD2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0003589/0.1104, allocations: 194.7 kB / 418.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.1105, allocations: 51.34 kB / 418.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000985/0.1115, allocations: 478.8 kB / 418.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1115, allocations: 4 kB / 418.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1115, allocations: 0 / 418.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1116, allocations: 3.984 kB / 418.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.1131, allocations: 1.021 MB / 419.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1131, allocations: 4 kB / 419.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.1134, allocations: 75.88 kB / 419.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1134, allocations: 4 kB / 419.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.1135, allocations: 11.98 kB / 419.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.1135, allocations: 4 kB / 419.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1135, allocations: 0 / 419.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.1148, allocations: 0.7376 MB / 420.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.115, allocations: 160.4 kB / 420.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.1151, allocations: 4 kB / 420.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.1154, allocations: 35.97 kB / 420.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.1154, allocations: 35.98 kB / 420.7 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.1155, allocations: 15.98 kB / 420.7 MB, free: 8.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003274/0.1158, allocations: 314.9 kB / 421 MB, free: 8.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.1158, allocations: 0 / 421 MB, free: 8.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004655/0.1163, allocations: 135.7 kB / 421.2 MB, free: 8.145 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (PulmonaryArteries.state,PulmonaryVeins.state,SystemicVeins.state,SystemicArteries.state) * Number of discrete variables: 10 (leftHeart.pulses.b,rightHeart.pulses.b,$whenCondition2,$whenCondition1,rightHeart.pulses.T0,rightHeart.pulses.HP,rightHeart.pulses.TD2,leftHeart.pulses.T0,leftHeart.pulses.HP,leftHeart.pulses.TD2) * Number of discrete states: 4 (rightHeart.pulses.T0,rightHeart.pulses.HP,leftHeart.pulses.T0,leftHeart.pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001248/0.1164, allocations: 108.5 kB / 421.3 MB, free: 8.031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007953/0.1172, allocations: 399.2 kB / 421.7 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1172, allocations: 0 / 421.7 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.1176, allocations: 196.1 kB / 421.9 MB, free: 7.449 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.1182, allocations: 114.1 kB / 422 MB, free: 7.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1196, allocations: 1.077 MB / 423.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.12, allocations: 0.8586 MB / 423.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.1202, allocations: 68.55 kB / 424 MB, free: 5.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1203, allocations: 43.41 kB / 424 MB, free: 5.242 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1203, allocations: 0 / 424 MB, free: 5.242 MB / 318.1 MB Notification: Performance of Templates: time 0.1444/0.2647, allocations: 5.407 MB / 429.4 MB, free: 35.83 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.sim & ./Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe 2>&1) Environment - environmentSimulation: