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: translateModel(Physiolibrary.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element") translateModel(Physiolibrary.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000985/0.0009845, 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.000897/0.000897, 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.33/1.33, 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.07506/0.07506, allocations: 15.38 MB / 285.8 MB, free: 5.801 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.0005748/0.0005749, allocations: 16 kB / 347.7 MB, free: 18.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08097, allocations: 51.41 MB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.Windkessel_3element): time 0.00254/0.08354, allocations: 2.126 MB / 401.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.08655, allocations: 2.012 MB / 403.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.08674, allocations: 4 kB / 403.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.924e-05/0.08681, allocations: 23.83 kB / 403.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007657/0.08758, allocations: 239.2 kB / 403.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.0882, allocations: 227.5 kB / 403.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.08854, allocations: 203.5 kB / 403.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.08867, allocations: 48.25 kB / 403.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.08882, allocations: 91.64 kB / 404 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.08898, allocations: 95.55 kB / 404.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.08901, allocations: 8 kB / 404.1 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.179e-05/0.08905, allocations: 8 kB / 404.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.08909, allocations: 23.92 kB / 404.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.08915, allocations: 65.58 kB / 404.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.0893, allocations: 143.9 kB / 404.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.08931, allocations: 0 / 404.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08933, allocations: 4 kB / 404.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.08934, allocations: 0 / 404.4 MB, free: 9.344 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.0007132/0.09005, allocations: 490.4 kB / 404.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.0901, allocations: 12.03 kB / 404.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.09017, allocations: 23.72 kB / 404.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.09049, allocations: 243.5 kB / 405.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.09053, allocations: 11.86 kB / 405.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.09057, allocations: 23.91 kB / 405.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.09089, allocations: 161.6 kB / 405.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.09091, allocations: 0 / 405.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.09094, allocations: 8 kB / 405.3 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.09095, allocations: 4 kB / 405.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.09126, allocations: 139.9 kB / 405.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.09212, allocations: 0.5429 MB / 406 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.0925, allocations: 174.5 kB / 406.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.09254, allocations: 4 kB / 406.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.09278, allocations: 119.3 kB / 406.3 MB, free: 7.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.09279, allocations: 0 / 406.3 MB, free: 7.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005251/0.09332, allocations: 245.3 kB / 406.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.09337, allocations: 55.34 kB / 406.6 MB, free: 6.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.09354, allocations: 202.8 kB / 406.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.09357, allocations: 29.7 kB / 406.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.09364, allocations: 128.3 kB / 406.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.09371, allocations: 59.28 kB / 407 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/0.09373, allocations: 0 / 407 MB, free: 6.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.09386, allocations: 334.8 kB / 407.3 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.09399, allocations: 55.91 kB / 407.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.09415, allocations: 82.53 kB / 407.5 MB, free: 6.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.0943, allocations: 55.98 kB / 407.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.09432, allocations: 0 / 407.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003804/0.0947, allocations: 201.2 kB / 407.7 MB, free: 5.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.09472, allocations: 4 kB / 407.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.09473, allocations: 0 / 407.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.09475, allocations: 4 kB / 407.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.09494, allocations: 51.94 kB / 407.8 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.09495, allocations: 3.938 kB / 407.8 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.09508, allocations: 27.78 kB / 407.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.0951, allocations: 11.98 kB / 407.8 MB, free: 5.668 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.0001506/0.09526, allocations: 137.8 kB / 407.9 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.09529, allocations: 15.81 kB / 408 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.09568, allocations: 199.1 kB / 408.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.0957, allocations: 4 kB / 408.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.09571, allocations: 4 kB / 408.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.09571, allocations: 0 / 408.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.09636, allocations: 0.5302 MB / 408.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.09638, allocations: 0 / 408.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.09654, allocations: 27.98 kB / 408.7 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.09656, allocations: 4 kB / 408.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.09658, allocations: 3.984 kB / 408.7 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.09659, allocations: 0 / 408.7 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.0966, allocations: 3.953 kB / 408.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.09712, allocations: 355.3 kB / 409.1 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.09722, allocations: 112.8 kB / 409.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.09726, allocations: 11.92 kB / 409.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.09741, allocations: 15.92 kB / 409.2 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.09746, allocations: 19.94 kB / 409.2 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.09748, allocations: 8 kB / 409.2 MB, free: 4.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.0976, allocations: 144.4 kB / 409.4 MB, free: 3.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.0976, allocations: 0 / 409.4 MB, free: 3.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.09787, allocations: 48.06 kB / 409.4 MB, free: 3.938 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 8.477e-05/0.09796, allocations: 99.17 kB / 409.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.09829, allocations: 135.9 kB / 409.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0983, allocations: 4.062 kB / 409.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.09848, allocations: 79.89 kB / 409.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.09875, allocations: 31.92 kB / 409.8 MB, free: 3.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.09943, allocations: 448.4 kB / 410.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.0997, allocations: 0.7363 MB / 410.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.468e-05/0.0998, allocations: 17.55 kB / 411 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.09985, allocations: 23.42 kB / 411 MB, free: 2.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09985, allocations: 0 / 411 MB, free: 2.32 MB / 302.1 MB Notification: Performance of Templates: time 0.004233/0.1041, allocations: 1.78 MB / 412.8 MB, free: 0.543 MB / 302.1 MB make -j1 -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element.makefile Environment - environmentSimulation: (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 & ./Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) Environment - environmentSimulation: