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: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.AcidBase.Phosphate,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_Phosphate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.AcidBase.Phosphate,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_Phosphate",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.001003/0.001003, allocations: 99.62 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.0009823/0.0009822, 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.527/1.527, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.08522/0.08522, allocations: 15.4 MB / 285.8 MB, free: 5.895 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.0005875/0.0005875, allocations: 12 kB / 347.8 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1025, allocations: 51.41 MB / 399.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.AcidBase.Phosphate): time 0.004202/0.1067, allocations: 3.771 MB / 402.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007586/0.1143, allocations: 5.317 MB / 408.3 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/0.115, allocations: 19.81 kB / 408.3 MB, free: 5.434 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.0002743/0.1153, allocations: 91.23 kB / 408.4 MB, free: 5.344 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.002549/0.1178, allocations: 0.7242 MB / 409.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.12, allocations: 0.7522 MB / 409.8 MB, free: 3.863 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.001103/0.1211, allocations: 0.628 MB / 410.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.1214, allocations: 155.5 kB / 410.6 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.1217, allocations: 239 kB / 410.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.1221, allocations: 330.6 kB / 411.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.1222, allocations: 24 kB / 411.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.1223, allocations: 20 kB / 411.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.1224, allocations: 139.4 kB / 411.4 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1225, allocations: 149.3 kB / 411.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.123, allocations: 478.9 kB / 412 MB, free: 1.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.123, allocations: 0 / 412 MB, free: 1.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.123, allocations: 0 / 412 MB, free: 1.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.123, allocations: 0 / 412 MB, free: 1.727 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.001893/0.1249, allocations: 0.9304 MB / 412.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.125, allocations: 12.03 kB / 412.9 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.82e-05/0.1251, allocations: 82.52 kB / 413 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.1252, allocations: 78.97 kB / 413.1 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.1261, allocations: 0.4947 MB / 413.6 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.1261, allocations: 33.05 kB / 413.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.1262, allocations: 43.95 kB / 413.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.1269, allocations: 446.8 kB / 414.1 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1269, allocations: 0 / 414.1 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.127, allocations: 16 kB / 414.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.127, allocations: 8 kB / 414.1 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.1275, allocations: 319.7 kB / 414.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.1304, allocations: 1.605 MB / 416 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.1308, allocations: 296.5 kB / 416.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.1309, allocations: 8.234 kB / 416.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1309, allocations: 42.73 kB / 416.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/0.1309, allocations: 0 / 416.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.0118/0.1427, allocations: 2.98 MB / 419.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.1428, allocations: 110.8 kB / 419.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/0.1436, allocations: 0.6254 MB / 420.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.1437, allocations: 41.64 kB / 420.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.1439, allocations: 332.5 kB / 420.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1441, allocations: 161.7 kB / 420.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1441, allocations: 12 kB / 420.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1443, allocations: 378.8 kB / 421 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.1448, allocations: 301.1 kB / 421.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.1454, allocations: 495.6 kB / 421.8 MB, free: 7.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.1459, allocations: 364.5 kB / 422.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1459, allocations: 4 kB / 422.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.005648/0.1516, allocations: 1.566 MB / 423.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.1516, allocations: 8 kB / 423.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.1517, allocations: 11.95 kB / 423.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005944/0.1576, allocations: 0.9457 MB / 424.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.1581, allocations: 119.8 kB / 424.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1953/0.3534, allocations: 6.523 MB / 431.3 MB, free: 33.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.3542, allocations: 48.05 kB / 431.3 MB, free: 33.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.3542, allocations: 33.64 kB / 431.4 MB, free: 33.32 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.0002954/0.3545, allocations: 209.9 kB / 431.6 MB, free: 33.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.3547, allocations: 71.02 kB / 431.6 MB, free: 33.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005768/0.3604, allocations: 1.403 MB / 433 MB, free: 33.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3605, allocations: 12.28 kB / 433.1 MB, free: 33.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3605, allocations: 2.594 kB / 433.1 MB, free: 33.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3605, allocations: 3.219 kB / 433.1 MB, free: 33.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007714/0.3682, allocations: 2.442 MB / 435.5 MB, free: 32.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.3682, allocations: 3.938 kB / 435.5 MB, free: 32.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.3685, allocations: 59.64 kB / 435.6 MB, free: 32.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006024/0.3745, allocations: 0.9232 MB / 436.5 MB, free: 32.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.3746, allocations: 19.89 kB / 436.5 MB, free: 32.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009529/0.3841, allocations: 6.327 MB / 442.8 MB, free: 28.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.3842, allocations: 8.781 kB / 442.8 MB, free: 28.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005819/0.39, allocations: 2.232 MB / 445.1 MB, free: 27.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.3904, allocations: 214.7 kB / 445.3 MB, free: 26.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.3905, allocations: 15.62 kB / 445.3 MB, free: 26.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.391, allocations: 39.39 kB / 445.3 MB, free: 26.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.3912, allocations: 53.23 kB / 445.4 MB, free: 26.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.3913, allocations: 21.92 kB / 445.4 MB, free: 26.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005419/0.3918, allocations: 433.5 kB / 445.8 MB, free: 26.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.62e-07/0.3918, allocations: 0 / 445.8 MB, free: 26.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001036/0.3929, allocations: 256 kB / 446.1 MB, free: 26.49 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.005896/0.3988, allocations: 3.95 MB / 450 MB, free: 23.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.4016, allocations: 1.147 MB / 451.2 MB, free: 22.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4016, allocations: 4.125 kB / 451.2 MB, free: 22.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.4037, allocations: 0.7395 MB / 451.9 MB, free: 22.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/0.4045, allocations: 146.9 kB / 452.1 MB, free: 21.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.4074, allocations: 6.43 MB / 458.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4078, allocations: 0.9625 MB / 459.5 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003324/0.4081, allocations: 108.2 kB / 459.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.4083, allocations: 226.6 kB / 459.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4083, allocations: 0 / 459.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.4431, allocations: 23.09 MB / 482.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.4433, allocations: 209.3 kB / 483.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/2.944, allocations: 0 / 483.1 MB, free: 8.957 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_Phosphate_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Chemical_Examples_AcidBase_Phosphate.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.AcidBase.Phosphate.pipe 2>&1) Environment - environmentSimulation: