Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization.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.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization") translateModel(Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009065/0.0009065, allocations: 100.5 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.0008825/0.0008826, 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.283/1.283, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.07549/0.07549, allocations: 15.4 MB / 285.8 MB, free: 5.891 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.0008566/0.000857, allocations: 20 kB / 347.7 MB, free: 18.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1058, allocations: 51.41 MB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization): time 0.002801/0.1086, allocations: 2.738 MB / 401.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004312/0.113, allocations: 3.544 MB / 405.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.1132, allocations: 11.94 kB / 405.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.1133, allocations: 39.67 kB / 405.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.1144, allocations: 454.4 kB / 405.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1155, allocations: 490.9 kB / 406.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.1159, allocations: 339.2 kB / 406.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1161, allocations: 73.38 kB / 406.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1162, allocations: 131.4 kB / 406.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1165, allocations: 159.3 kB / 407 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.1165, allocations: 16 kB / 407 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.093e-05/0.1166, allocations: 12 kB / 407 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.812e-05/0.1167, allocations: 67.72 kB / 407.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.1168, allocations: 93.52 kB / 407.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.117, allocations: 235.7 kB / 407.4 MB, free: 6.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.117, allocations: 0 / 407.4 MB, free: 6.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.117, allocations: 3.938 kB / 407.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.117, allocations: 0 / 407.4 MB, free: 6.262 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000971/0.118, allocations: 0.6269 MB / 408.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.118, allocations: 12.02 kB / 408.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.1181, allocations: 47.39 kB / 408.1 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.1185, allocations: 333.3 kB / 408.4 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1186, allocations: 24.38 kB / 408.5 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.1186, allocations: 20 kB / 408.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.119, allocations: 246.7 kB / 408.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.119, allocations: 0 / 408.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.119, allocations: 8 kB / 408.7 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1191, allocations: 11.98 kB / 408.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.1193, allocations: 161.5 kB / 408.9 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.1209, allocations: 1.031 MB / 409.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.1212, allocations: 175.8 kB / 410.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1213, allocations: 0 / 410.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.1213, allocations: 38.5 kB / 410.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.1213, allocations: 0 / 410.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.004335/0.1256, allocations: 1.257 MB / 411.4 MB, free: 2.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.1257, allocations: 114.8 kB / 411.5 MB, free: 1.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.1261, allocations: 385.8 kB / 411.9 MB, free: 1.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1261, allocations: 29.7 kB / 411.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1263, allocations: 227.9 kB / 412.1 MB, free: 1.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.1263, allocations: 75 kB / 412.2 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/0.1263, allocations: 8 kB / 412.2 MB, free: 1.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1265, allocations: 350.8 kB / 412.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.1267, allocations: 132.7 kB / 412.7 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.127, allocations: 285.9 kB / 413 MB, free: 372 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.1273, allocations: 183.8 kB / 413.2 MB, free: 188 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1273, allocations: 4 kB / 413.2 MB, free: 184 kB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002283/0.1296, allocations: 0.752 MB / 413.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1296, allocations: 8 kB / 413.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1296, allocations: 7.938 kB / 413.9 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/0.1318, allocations: 397.3 kB / 414.3 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.1321, allocations: 71.84 kB / 414.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005127/0.1372, allocations: 4.167 MB / 418.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.1376, allocations: 31.91 kB / 418.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.1376, allocations: 16 kB / 418.6 MB, free: 10.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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): 34 * 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: 1 {(3,88.9%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.1378, allocations: 173.7 kB / 418.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.1379, allocations: 39.53 kB / 418.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.619e-05/0.138, allocations: 51.69 kB / 418.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.138, allocations: 4.328 kB / 418.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.138, allocations: 4 kB / 418.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.138, allocations: 3.984 kB / 418.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.1386, allocations: 433.3 kB / 419.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1386, allocations: 4.094 kB / 419.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1387, allocations: 19.98 kB / 419.3 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.1409, allocations: 393.1 kB / 419.7 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1409, allocations: 8 kB / 419.7 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004688/0.1456, allocations: 4.112 MB / 423.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1456, allocations: 3.984 kB / 423.8 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.1481, allocations: 1.02 MB / 424.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.1483, allocations: 140.6 kB / 425 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.1484, allocations: 0 / 425 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.1487, allocations: 19.98 kB / 425 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.1488, allocations: 23.92 kB / 425 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.1488, allocations: 19.98 kB / 425 MB, free: 3.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.1491, allocations: 259.2 kB / 425.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 0 / 425.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000629/0.1497, allocations: 128 kB / 425.4 MB, free: 3.242 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (electroneutrality.state[1],tH2O.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 (11): * Single equations (assignments): 9 * 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: 1 {(3,88.9%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/0.1499, allocations: 103.2 kB / 425.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.1513, allocations: 0.6464 MB / 426.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1513, allocations: 0 / 426.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009109/0.1523, allocations: 469.7 kB / 426.6 MB, free: 1.977 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.1528, allocations: 86.42 kB / 426.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1538, allocations: 0.844 MB / 427.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1542, allocations: 0.823 MB / 428.4 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.1543, allocations: 55.28 kB / 428.4 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.1544, allocations: 31.44 kB / 428.5 MB, free: 84 kB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1544, allocations: 0 / 428.5 MB, free: 84 kB / 318.1 MB Notification: Performance of Templates: time 0.1425/0.297, allocations: 7.374 MB / 435.8 MB, free: 33.79 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) Environment - environmentSimulation: