Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater.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.Chemical.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater") translateModel(Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008608/0.0008608, allocations: 99.55 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.0008739/0.0008743, 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.255/1.255, 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.07327/0.07327, allocations: 15.39 MB / 285.8 MB, free: 5.762 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Euler" 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.0005131/0.0005131, allocations: 20 kB / 347.7 MB, free: 18.17 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08342, allocations: 51.4 MB / 399.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater): time 0.003466/0.08692, allocations: 3.517 MB / 402.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.09259, allocations: 4.479 MB / 407.1 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.09296, allocations: 19.81 kB / 407.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.09314, allocations: 59.52 kB / 407.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.09461, allocations: 0.619 MB / 407.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.09609, allocations: 0.6119 MB / 408.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007325/0.09684, allocations: 0.5377 MB / 408.9 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.09704, allocations: 107.5 kB / 409 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.09725, allocations: 199.2 kB / 409.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.09759, allocations: 266.8 kB / 409.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.09764, allocations: 20 kB / 409.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.112e-05/0.09771, allocations: 16 kB / 409.5 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.09783, allocations: 99.58 kB / 409.6 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.09794, allocations: 125.4 kB / 409.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.09826, allocations: 391.2 kB / 410.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.09827, allocations: 0 / 410.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09828, allocations: 0 / 410.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.09829, allocations: 0 / 410.1 MB, free: 3.559 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001351/0.09965, allocations: 0.8058 MB / 410.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.09969, allocations: 12.02 kB / 410.9 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.09979, allocations: 67.25 kB / 411 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006112/0.1004, allocations: 438.9 kB / 411.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1004, allocations: 20.66 kB / 411.4 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.1005, allocations: 36 kB / 411.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.101, allocations: 349.8 kB / 411.8 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.101, allocations: 3.938 kB / 411.8 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.1011, allocations: 19.95 kB / 411.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1011, allocations: 12 kB / 411.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.1015, allocations: 242.4 kB / 412.1 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.1038, allocations: 1.349 MB / 413.4 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.1041, allocations: 229.9 kB / 413.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1042, allocations: 192 / 413.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1042, allocations: 34.75 kB / 413.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.123e-06/0.1042, allocations: 0 / 413.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.008006/0.1122, allocations: 2.217 MB / 415.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.1123, allocations: 85.11 kB / 416 MB, free: 13.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.1129, allocations: 0.5224 MB / 416.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.1129, allocations: 33.7 kB / 416.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.1131, allocations: 300 kB / 416.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/0.1132, allocations: 118.2 kB / 417 MB, free: 12.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.1133, allocations: 8 kB / 417 MB, free: 12.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1134, allocations: 370.8 kB / 417.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.1138, allocations: 217 kB / 417.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.1142, allocations: 367.4 kB / 417.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.1146, allocations: 267.6 kB / 418.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1146, allocations: 4 kB / 418.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003576/0.1182, allocations: 1.143 MB / 419.3 MB, free: 9.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1182, allocations: 11.98 kB / 419.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1183, allocations: 4 kB / 419.3 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/0.1218, allocations: 0.6587 MB / 420 MB, free: 9.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.1222, allocations: 75.91 kB / 420.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00937/0.1316, allocations: 7.982 MB / 428 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.1323, allocations: 43.94 kB / 428.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.1323, allocations: 20 kB / 428.1 MB, free: 0.6367 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (46): * Single equations (assignments): 42 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002727/0.1326, allocations: 193.6 kB / 428.3 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.1328, allocations: 59.25 kB / 428.4 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.1329, allocations: 85.7 kB / 428.4 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1329, allocations: 4 kB / 428.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.1329, allocations: 8 kB / 428.4 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.133, allocations: 3.984 kB / 428.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1481/0.2811, allocations: 1.649 MB / 430.1 MB, free: 34.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.2811, allocations: 1.562 kB / 430.1 MB, free: 34.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.2813, allocations: 36.94 kB / 430.1 MB, free: 34.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003544/0.2848, allocations: 0.6433 MB / 430.8 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.2849, allocations: 8.484 kB / 430.8 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008424/0.2933, allocations: 7.912 MB / 438.7 MB, free: 29.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2934, allocations: 1.578 kB / 438.7 MB, free: 29.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.2972, allocations: 1.515 MB / 440.2 MB, free: 28.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.2975, allocations: 179.7 kB / 440.4 MB, free: 28.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.2976, allocations: 7.859 kB / 440.4 MB, free: 28.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.298, allocations: 26.12 kB / 440.4 MB, free: 28.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2982, allocations: 41.33 kB / 440.5 MB, free: 28.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.2982, allocations: 14.05 kB / 440.5 MB, free: 28.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.2986, allocations: 363.3 kB / 440.8 MB, free: 28.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2986, allocations: 0 / 440.8 MB, free: 28.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000763/0.2994, allocations: 211.6 kB / 441 MB, free: 28.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (electroneutrality.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 (19): * Single equations (assignments): 15 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.2995, allocations: 107 kB / 441.1 MB, free: 28.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.3019, allocations: 1.166 MB / 442.3 MB, free: 27.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3019, allocations: 0 / 442.3 MB, free: 27.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.3037, allocations: 0.8902 MB / 443.2 MB, free: 27.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.3044, allocations: 122.4 kB / 443.3 MB, free: 26.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.306, allocations: 1.224 MB / 444.5 MB, free: 26.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3063, allocations: 0.904 MB / 445.5 MB, free: 25.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.3066, allocations: 75.17 kB / 445.5 MB, free: 25.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.3066, allocations: 44.84 kB / 445.6 MB, free: 25.59 MB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3067, allocations: 0 / 445.6 MB, free: 25.59 MB / 318.1 MB Notification: Performance of Templates: time 0.01704/0.3237, allocations: 12.59 MB / 458.2 MB, free: 18.1 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) Environment - environmentSimulation: