Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate.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.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate") translateModel(Physiolibrary.Chemical.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.0009382, allocations: 99.31 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.0009307/0.000931, 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.266/1.266, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.07046/0.07046, allocations: 15.4 MB / 285.8 MB, free: 5.902 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.0005269/0.000527, allocations: 15.98 kB / 347.7 MB, free: 18.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08975, allocations: 51.41 MB / 399.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.AcidBase.Phosphate): time 0.003787/0.09358, allocations: 3.771 MB / 402.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006697/0.1003, allocations: 5.321 MB / 408.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004517/0.1008, allocations: 19.81 kB / 408.2 MB, free: 5.531 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:2849:16-2849:19:writable] Warning: 'each' used when modifying non-array element tP04. Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.101, allocations: 79.38 kB / 408.3 MB, free: 5.453 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:2848:16-2848:59:writable] Warning: 'each' used when modifying non-array element tP04. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:2849:16-2849:19:writable] Warning: 'each' used when modifying non-array element tP04. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:2850:16-2850:32:writable] Warning: 'each' used when modifying non-array element tP04. Notification: Performance of NFTyping.typeBindings: time 0.001908/0.1029, allocations: 0.7318 MB / 409 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.1048, allocations: 0.7522 MB / 409.7 MB, free: 3.965 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:2848:16-2848:59:writable] Warning: 'each' used when modifying non-array element tP04. Notification: Performance of NFFlatten.flatten: time 0.0008027/0.1056, allocations: 0.6202 MB / 410.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.1058, allocations: 159.5 kB / 410.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.1061, allocations: 243 kB / 410.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.1065, allocations: 334.6 kB / 411.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.657e-05/0.1066, allocations: 20 kB / 411.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.1067, allocations: 20 kB / 411.1 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1068, allocations: 135.5 kB / 411.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1069, allocations: 153.3 kB / 411.4 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.1073, allocations: 475 kB / 411.9 MB, free: 1.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1073, allocations: 4 kB / 411.9 MB, free: 1.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1073, allocations: 0 / 411.9 MB, free: 1.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1074, allocations: 0 / 411.9 MB, free: 1.828 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001631/0.109, allocations: 0.9227 MB / 412.8 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.109, allocations: 15.97 kB / 412.8 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1092, allocations: 86.95 kB / 412.9 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.1099, allocations: 0.4986 MB / 413.4 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1099, allocations: 29 kB / 413.4 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.11, allocations: 40 kB / 413.5 MB, free: 144 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.1107, allocations: 450.8 kB / 413.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1107, allocations: 0 / 413.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.1107, allocations: 16 kB / 413.9 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1107, allocations: 12 kB / 413.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.1113, allocations: 307.8 kB / 414.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.1141, allocations: 1.605 MB / 415.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.1145, allocations: 305.3 kB / 416.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1146, allocations: 4.234 kB / 416.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1146, allocations: 42.73 kB / 416.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 3.065e-06/0.1146, allocations: 0 / 416.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.01166/0.1263, allocations: 2.975 MB / 419.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.1264, allocations: 114.8 kB / 419.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.1271, allocations: 0.6293 MB / 419.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.1271, allocations: 37.7 kB / 419.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.1273, allocations: 336.5 kB / 420.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1275, allocations: 157.7 kB / 420.4 MB, free: 9.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1275, allocations: 16 kB / 420.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1277, allocations: 374.8 kB / 420.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.1281, allocations: 297.1 kB / 421.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.1287, allocations: 499.6 kB / 421.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.1292, allocations: 368.5 kB / 421.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1292, allocations: 0 / 421.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.005551/0.1348, allocations: 1.562 MB / 423.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.1348, allocations: 8 kB / 423.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.1349, allocations: 12.12 kB / 423.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005848/0.1407, allocations: 0.9533 MB / 424.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.1412, allocations: 123.8 kB / 424.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.16/0.3012, allocations: 6.528 MB / 431.1 MB, free: 33.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.302, allocations: 46.92 kB / 431.2 MB, free: 33.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.3021, allocations: 31.28 kB / 431.2 MB, free: 33.37 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (62): * Single equations (assignments): 60 * 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 {(4,81.2%) 5} * Non-linear torn systems: 1 {5 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.3023, allocations: 218.6 kB / 431.4 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3025, allocations: 69.56 kB / 431.5 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005629/0.3081, allocations: 1.406 MB / 432.9 MB, free: 33.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3081, allocations: 4.719 kB / 432.9 MB, free: 33.19 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3082, allocations: 4.188 kB / 432.9 MB, free: 33.19 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3082, allocations: 1.547 kB / 432.9 MB, free: 33.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007185/0.3154, allocations: 2.441 MB / 435.3 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.3154, allocations: 3.625 kB / 435.3 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.3156, allocations: 64.12 kB / 435.4 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005617/0.3212, allocations: 0.9236 MB / 436.3 MB, free: 32.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.3213, allocations: 17.73 kB / 436.3 MB, free: 32.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009165/0.3305, allocations: 6.327 MB / 442.7 MB, free: 28.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3305, allocations: 4.656 kB / 442.7 MB, free: 28.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006081/0.3366, allocations: 2.234 MB / 444.9 MB, free: 27.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.3371, allocations: 210.6 kB / 445.1 MB, free: 26.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.3373, allocations: 16.69 kB / 445.1 MB, free: 26.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006326/0.3379, allocations: 36.53 kB / 445.2 MB, free: 26.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.3382, allocations: 53.67 kB / 445.2 MB, free: 26.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.3382, allocations: 21.92 kB / 445.2 MB, free: 26.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005827/0.3388, allocations: 433.1 kB / 445.7 MB, free: 26.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3388, allocations: 0 / 445.7 MB, free: 26.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001158/0.34, allocations: 259.2 kB / 445.9 MB, free: 26.62 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (electroneutrality.state[1],tP04.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 (31): * Single equations (assignments): 29 * 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 {(2,100.0%) 7} * Non-linear torn systems: 1 {5 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.3401, allocations: 108.8 kB / 446 MB, free: 26.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.3431, allocations: 1.145 MB / 447.2 MB, free: 25.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3431, allocations: 1.688 kB / 447.2 MB, free: 25.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.3452, allocations: 0.7386 MB / 447.9 MB, free: 25.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.3461, allocations: 161.9 kB / 448.1 MB, free: 25.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.3481, allocations: 1.552 MB / 449.6 MB, free: 24.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.3486, allocations: 0.9597 MB / 450.6 MB, free: 23.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004078/0.349, allocations: 107.9 kB / 450.7 MB, free: 23.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.3491, allocations: 54.86 kB / 450.7 MB, free: 23.27 MB / 318.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3491, allocations: 0 / 450.7 MB, free: 23.27 MB / 318.1 MB Notification: Performance of Templates: time 0.0215/0.3706, allocations: 17.06 MB / 467.8 MB, free: 8.586 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate.pipe 2>&1) Environment - environmentSimulation: