Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState.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.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState") translateModel(Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000978/0.000978, allocations: 100.1 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.00122/0.00122, 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.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.07789/0.07789, allocations: 15.4 MB / 285.8 MB, free: 5.906 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.0005204/0.0005205, allocations: 16 kB / 347.6 MB, free: 18.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08615/0.08668, allocations: 51.42 MB / 399.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState): time 0.004416/0.09114, allocations: 4.081 MB / 403.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007124/0.09829, allocations: 5.543 MB / 408.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003729/0.0987, allocations: 23.81 kB / 408.7 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.09925, allocations: 151.2 kB / 408.9 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.1009, allocations: 0.7825 MB / 409.6 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.1029, allocations: 0.7872 MB / 410.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008574/0.1037, allocations: 0.6869 MB / 411.1 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.104, allocations: 178.2 kB / 411.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.1043, allocations: 267 kB / 411.6 MB, free: 2.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.1047, allocations: 350.6 kB / 411.9 MB, free: 1.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.1048, allocations: 28 kB / 411.9 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.1051, allocations: 187.7 kB / 412.1 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.1053, allocations: 199.3 kB / 412.3 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.1055, allocations: 181.2 kB / 412.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1068, allocations: 1.431 MB / 413.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1068, allocations: 0 / 413.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1068, allocations: 0 / 413.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.1068, allocations: 4 kB / 413.9 MB, free: 15.79 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003937/0.1107, allocations: 1.413 MB / 415.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1108, allocations: 12.02 kB / 415.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.1111, allocations: 102.7 kB / 415.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/0.1151, allocations: 2.853 MB / 418.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.1151, allocations: 40.98 kB / 418.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.1152, allocations: 59.94 kB / 418.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1162, allocations: 0.6191 MB / 419 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1162, allocations: 0 / 419 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.1163, allocations: 19.94 kB / 419 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1163, allocations: 12 kB / 419 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1173, allocations: 0.6598 MB / 419.7 MB, free: 9.887 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005601/0.1229, allocations: 3.545 MB / 423.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1242, allocations: 0.993 MB / 424.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.1242, allocations: 11.98 kB / 424.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1242, allocations: 34.56 kB / 424.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.504e-06/0.1242, allocations: 0 / 424.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.1757/0.2999, allocations: 7.441 MB / 431.7 MB, free: 31.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3, allocations: 84.23 kB / 431.8 MB, free: 31.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005236/0.3053, allocations: 3.394 MB / 435.2 MB, free: 31.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.085e-05/0.3054, allocations: 33.98 kB / 435.2 MB, free: 31.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.3056, allocations: 411.8 kB / 435.6 MB, free: 31.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.3058, allocations: 190.6 kB / 435.8 MB, free: 31.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.3059, allocations: 10.5 kB / 435.8 MB, free: 31.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.3059, allocations: 331.9 kB / 436.2 MB, free: 30.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.3071, allocations: 0.6049 MB / 436.8 MB, free: 30.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3083, allocations: 0.7207 MB / 437.5 MB, free: 30.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.3097, allocations: 0.6294 MB / 438.1 MB, free: 30.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3097, allocations: 1.156 kB / 438.1 MB, free: 30.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.01028/0.32, allocations: 3.647 MB / 441.8 MB, free: 30.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.3201, allocations: 5.938 kB / 441.8 MB, free: 30.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.3201, allocations: 3.875 kB / 441.8 MB, free: 30.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003377/0.3235, allocations: 1.446 MB / 443.2 MB, free: 30 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3237, allocations: 42.58 kB / 443.3 MB, free: 30 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.3287, allocations: 3.66 MB / 446.9 MB, free: 28.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.33, allocations: 127.3 kB / 447 MB, free: 28.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/0.3301, allocations: 53.89 kB / 447.1 MB, free: 28.24 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,5 21} Notification: Performance of prepare postOptimizeDAE: time 0.0002971/0.3304, allocations: 259.8 kB / 447.3 MB, free: 28.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.3306, allocations: 100.4 kB / 447.4 MB, free: 28.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0074/0.338, allocations: 3.453 MB / 450.9 MB, free: 25.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.3381, allocations: 4 kB / 450.9 MB, free: 25.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3381, allocations: 7.984 kB / 450.9 MB, free: 25.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3381, allocations: 0 / 450.9 MB, free: 25.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/0.3476, allocations: 5.512 MB / 456.4 MB, free: 19.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3476, allocations: 7.469 kB / 456.4 MB, free: 19.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.3477, allocations: 15.98 kB / 456.4 MB, free: 19.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/0.3502, allocations: 1.416 MB / 457.9 MB, free: 18.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.3503, allocations: 27.97 kB / 457.9 MB, free: 18.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/0.3544, allocations: 3.625 MB / 461.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3545, allocations: 3.953 kB / 461.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008546/0.363, allocations: 4.405 MB / 465.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.3642, allocations: 0.5504 MB / 466.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.3645, allocations: 11.95 kB / 466.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.3657, allocations: 123.8 kB / 466.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.3658, allocations: 48.48 kB / 466.7 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.3658, allocations: 51.16 kB / 466.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002328/0.3682, allocations: 2.565 MB / 469.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3682, allocations: 0 / 469.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008165/0.369, allocations: 319.6 kB / 469.6 MB, free: 6.355 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bloodVolume.state[1]) * 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 (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 19,5 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002557/0.3693, allocations: 139.5 kB / 469.7 MB, free: 6.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.3717, allocations: 1.478 MB / 471.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3717, allocations: 3.719 kB / 471.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.373, allocations: 0.7853 MB / 472 MB, free: 3.984 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.3739, allocations: 133.9 kB / 472.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.3763, allocations: 1.962 MB / 474.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3766, allocations: 1.008 MB / 475.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004966/0.3771, allocations: 220.6 kB / 475.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.3775, allocations: 75.41 kB / 475.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3775, allocations: 0 / 475.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of Templates: time 0.03916/0.4167, allocations: 28.4 MB / 0.492 GB, free: 4.191 MB / 350.1 MB make -j1 -f Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState.pipe ; mkfifo Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState.pipe >> ../files/Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState.sim & ./Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.SteadyStates.Examples.CardiovascularSystem_GCG_SteadyState.pipe 2>&1) Environment - environmentSimulation: