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: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, 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.001082/0.001083, 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.45/1.45, 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.08671/0.08671, 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.0005558/0.0005559, allocations: 12 kB / 347.8 MB, free: 18.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1038, allocations: 51.42 MB / 399.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization): time 0.003231/0.1071, allocations: 2.726 MB / 401.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.1116, allocations: 3.548 MB / 405.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.1118, allocations: 11.94 kB / 405.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.1119, allocations: 39.69 kB / 405.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.113, allocations: 446.4 kB / 405.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.114, allocations: 490.8 kB / 406.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004197/0.1144, allocations: 335.2 kB / 406.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.1146, allocations: 85.3 kB / 406.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1147, allocations: 127.5 kB / 407 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.115, allocations: 159.3 kB / 407.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.1151, allocations: 8 kB / 407.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.092e-05/0.1151, allocations: 12 kB / 407.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.1152, allocations: 79.72 kB / 407.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.1153, allocations: 85.52 kB / 407.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1155, allocations: 239.6 kB / 407.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1155, allocations: 0 / 407.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1156, allocations: 0 / 407.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1156, allocations: 0 / 407.5 MB, free: 6.164 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.001071/0.1166, allocations: 0.6308 MB / 408.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.725e-05/0.1167, allocations: 12.03 kB / 408.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/0.1168, allocations: 50.55 kB / 408.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.1169, allocations: 47.39 kB / 408.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.1174, allocations: 345.1 kB / 408.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1175, allocations: 16.44 kB / 408.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.1175, allocations: 24 kB / 408.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.118, allocations: 242.7 kB / 408.9 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.118, allocations: 0 / 408.9 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.118, allocations: 12 kB / 408.9 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.118, allocations: 7.953 kB / 408.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.1184, allocations: 157.6 kB / 409.1 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.1201, allocations: 1.027 MB / 410.1 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1204, allocations: 171.8 kB / 410.2 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1205, allocations: 7.984 kB / 410.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1205, allocations: 38.5 kB / 410.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1205, allocations: 224 / 410.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.004497/0.125, allocations: 1.261 MB / 411.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.1251, allocations: 110.8 kB / 411.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.1255, allocations: 385.8 kB / 412 MB, free: 1.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.1256, allocations: 33.7 kB / 412.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.1257, allocations: 224 kB / 412.3 MB, free: 1.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.1258, allocations: 74.98 kB / 412.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.1259, allocations: 16 kB / 412.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.126, allocations: 350.8 kB / 412.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.1263, allocations: 128.7 kB / 412.8 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.1266, allocations: 289.8 kB / 413.1 MB, free: 196 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.1269, allocations: 179.9 kB / 413.3 MB, free: 16 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1269, allocations: 0 / 413.3 MB, free: 16 kB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002338/0.1292, allocations: 0.7521 MB / 414.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1293, allocations: 11.94 kB / 414.1 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1293, allocations: 4 kB / 414.1 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.1315, allocations: 401.2 kB / 414.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.1318, allocations: 67.84 kB / 414.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005345/0.1371, allocations: 4.174 MB / 418.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.1374, allocations: 31.97 kB / 418.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.1375, allocations: 20 kB / 418.8 MB, free: 10.29 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.0001873/0.1377, allocations: 169.7 kB / 418.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.1378, allocations: 43.44 kB / 419 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.869e-05/0.1379, allocations: 47.69 kB / 419 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1379, allocations: 11.89 kB / 419 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1379, allocations: 0 / 419 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1379, allocations: 3.984 kB / 419 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.1385, allocations: 429.4 kB / 419.4 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1385, allocations: 0 / 419.4 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1387, allocations: 27.92 kB / 419.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/0.1408, allocations: 385.2 kB / 419.9 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.1408, allocations: 11.95 kB / 419.9 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005308/0.1461, allocations: 4.104 MB / 424 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1462, allocations: 0 / 424 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.1486, allocations: 1.028 MB / 425 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.1488, allocations: 136.6 kB / 425.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.1489, allocations: 8.625 kB / 425.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.1492, allocations: 15.98 kB / 425.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.1493, allocations: 27.92 kB / 425.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1493, allocations: 7.984 kB / 425.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.1496, allocations: 263.2 kB / 425.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1496, allocations: 0 / 425.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000577/0.1502, allocations: 124 kB / 425.6 MB, free: 3.082 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.002864/0.153, allocations: 1.708 MB / 427.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.1544, allocations: 0.6459 MB / 427.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1544, allocations: 0 / 427.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.1553, allocations: 474 kB / 428.4 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.1558, allocations: 89.39 kB / 428.5 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2187/0.3745, allocations: 4.742 MB / 433.2 MB, free: 27.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3749, allocations: 0.8211 MB / 434 MB, free: 26.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.3752, allocations: 53.72 kB / 434.1 MB, free: 26.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.3754, allocations: 112.4 kB / 434.2 MB, free: 26.98 MB / 318.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3754, allocations: 0 / 434.2 MB, free: 26.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.4032, allocations: 10.91 MB / 445.1 MB, free: 24.32 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.4034, allocations: 230.6 kB / 445.3 MB, free: 24.08 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.404, allocations: 4 kB / 445.3 MB, free: 24.07 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_WaterSelfIonization_fmu --startTime=0 --stopTime=2e-06 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_WaterSelfIonization.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) Environment - environmentSimulation: