Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.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.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009462/0.0009463, allocations: 99 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.001028, 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.278/1.278, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.07512/0.07512, allocations: 15.39 MB / 285.8 MB, free: 5.898 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.0008791/0.0008791, allocations: 16 kB / 347.7 MB, free: 18.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1017, allocations: 51.41 MB / 399.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.002943/0.1047, allocations: 3.058 MB / 402.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.1103, allocations: 4.432 MB / 406.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.1106, allocations: 19.81 kB / 406.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.1e-05/0.1107, allocations: 47.53 kB / 406.6 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.112, allocations: 0.5918 MB / 407.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1134, allocations: 0.6157 MB / 407.8 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005491/0.114, allocations: 487.3 kB / 408.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.1142, allocations: 111.3 kB / 408.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.1144, allocations: 175.4 kB / 408.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.1146, allocations: 215 kB / 408.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.1147, allocations: 12 kB / 408.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.1147, allocations: 16 kB / 408.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1148, allocations: 67.69 kB / 408.9 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1149, allocations: 121.4 kB / 409 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.1152, allocations: 327.3 kB / 409.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1152, allocations: 4 kB / 409.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1152, allocations: 0 / 409.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1152, allocations: 4 kB / 409.3 MB, free: 4.371 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009481/0.1162, allocations: 0.6892 MB / 410 MB, free: 3.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1162, allocations: 15.95 kB / 410 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.1163, allocations: 63.34 kB / 410.1 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.1168, allocations: 372.8 kB / 410.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1168, allocations: 24.66 kB / 410.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.1169, allocations: 36 kB / 410.5 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.1174, allocations: 293.9 kB / 410.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1174, allocations: 4 kB / 410.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.1175, allocations: 16 kB / 410.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.1175, allocations: 8 kB / 410.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.118, allocations: 254.5 kB / 411.1 MB, free: 2.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1196, allocations: 0.9828 MB / 412.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.1202, allocations: 263.2 kB / 412.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1202, allocations: 8.125 kB / 412.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.1202, allocations: 30.75 kB / 412.4 MB, free: 1.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.1202, allocations: 4 kB / 412.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007473/0.121, allocations: 358.7 kB / 412.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.121, allocations: 51.41 kB / 412.8 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.1215, allocations: 430 kB / 413.2 MB, free: 320 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.1215, allocations: 33.7 kB / 413.2 MB, free: 280 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1217, allocations: 224.6 kB / 413.4 MB, free: 52 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.1218, allocations: 82.97 kB / 413.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.1218, allocations: 4 kB / 413.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1219, allocations: 354.8 kB / 413.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1222, allocations: 103.7 kB / 414 MB, free: 15.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1224, allocations: 136.2 kB / 414.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.1226, allocations: 104 kB / 414.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1226, allocations: 0 / 414.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005922/0.1232, allocations: 341 kB / 414.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1233, allocations: 8 kB / 414.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1233, allocations: 0 / 414.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1233, allocations: 4 kB / 414.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.1236, allocations: 75.89 kB / 414.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1236, allocations: 4 kB / 414.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.1239, allocations: 47.52 kB / 414.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.1239, allocations: 15.78 kB / 414.7 MB, free: 14.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001475/0.1241, allocations: 153.8 kB / 414.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.1241, allocations: 43.44 kB / 414.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005902/0.1247, allocations: 298.2 kB / 415.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1247, allocations: 4 kB / 415.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1247, allocations: 0 / 415.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1248, allocations: 7.875 kB / 415.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.1252, allocations: 409.2 kB / 415.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1252, allocations: 8 kB / 415.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.1255, allocations: 47.95 kB / 415.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1255, allocations: 4 kB / 415.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1255, allocations: 4 kB / 415.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1255, allocations: 4 kB / 415.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1255, allocations: 0 / 415.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.1263, allocations: 490.7 kB / 416.1 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.1265, allocations: 140.5 kB / 416.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.1265, allocations: 4 kB / 416.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1267, allocations: 12 kB / 416.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1268, allocations: 15.97 kB / 416.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1268, allocations: 8 kB / 416.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002899/0.1271, allocations: 298.9 kB / 416.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1271, allocations: 0 / 416.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1275, allocations: 95.84 kB / 416.7 MB, free: 12.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 9.751e-05/0.1276, allocations: 99.19 kB / 416.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005091/0.1281, allocations: 248 kB / 417 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1281, allocations: 0 / 417 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.1283, allocations: 112.1 kB / 417.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.1289, allocations: 106.6 kB / 417.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.13, allocations: 0.8425 MB / 418.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1304, allocations: 0.8234 MB / 418.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001846/0.1306, allocations: 63.22 kB / 419 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.1307, allocations: 39.42 kB / 419 MB, free: 10.29 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1307, allocations: 0 / 419 MB, free: 10.29 MB / 318.1 MB Notification: Performance of Templates: time 0.008002/0.1387, allocations: 4.372 MB / 423.4 MB, free: 5.91 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.sim & ./Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) Environment - environmentSimulation: