Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.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.Hemoglobin.Develop.Hemoglobin_oxygenation,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Develop_Hemoglobin_oxygenation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Develop_Hemoglobin_oxygenation",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.001112/0.001113, allocations: 100 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.001343/0.001343, 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.36/1.36, 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.083/0.083, allocations: 15.4 MB / 285.8 MB, free: 5.895 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.0005248/0.0005248, allocations: 16 kB / 347.8 MB, free: 18.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09204, allocations: 51.42 MB / 399.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation): time 0.009498/0.1016, allocations: 9.876 MB / 409.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.123, allocations: 15.93 MB / 425 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.1258, allocations: 71.38 kB / 425.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009887/0.1268, allocations: 301.7 kB / 425.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007722/0.1345, allocations: 2.324 MB / 427.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2019/0.3365, allocations: 2.287 MB / 430 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009959/0.3465, allocations: 7.362 MB / 437.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004488/0.351, allocations: 3.248 MB / 440.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007734/0.3588, allocations: 2.642 MB / 443.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.3691, allocations: 3.83 MB / 447.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003032/0.3722, allocations: 287.1 kB / 447.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/0.3767, allocations: 309.8 kB / 447.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002426/0.3791, allocations: 1.653 MB / 449.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004081/0.3832, allocations: 1.788 MB / 451.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.3953, allocations: 12.7 MB / 463.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3953, allocations: 0 / 463.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3953, allocations: 0 / 463.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004831/0.3958, allocations: 0 / 463.8 MB, free: 3.234 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1218 * Number of variables: 1218 Notification: Performance of Generate backend data structure: time 0.02882/0.4247, allocations: 10.11 MB / 473.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.4247, allocations: 16.02 kB / 473.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003084/0.4278, allocations: 0.654 MB / 474.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/0.4315, allocations: 0.9067 MB / 475.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/0.4483, allocations: 7.309 MB / 482.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004633/0.4488, allocations: 393.5 kB / 483.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003496/0.4523, allocations: 0.5116 MB / 483.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.4744, allocations: 8.432 MB / 492.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.684e-05/0.4745, allocations: 4 kB / 492.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007575/0.4753, allocations: 196 kB / 492.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.4754, allocations: 118.2 kB / 492.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.4943, allocations: 8.549 MB / 0.4892 GB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07266/0.567, allocations: 30.43 MB / 0.5189 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.5794, allocations: 6.612 MB / 0.5254 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003492/0.5798, allocations: 50.75 kB / 0.5254 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.789e-05/0.5799, allocations: 101.8 kB / 0.5255 GB, free: 10.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=374): time 6.331e-06/0.5799, allocations: 0 / 0.5255 GB, free: 10.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=562): time 1.21/1.79, allocations: 240.8 MB / 0.7607 GB, free: 8.828 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001913/1.79, allocations: 0.7308 MB / 0.7614 GB, free: 7.934 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2664/2.057, allocations: 9.384 MB / 0.7706 GB, free: 139.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001662/2.058, allocations: 137.9 kB / 0.7707 GB, free: 139.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00542/2.064, allocations: 3.612 MB / 0.7742 GB, free: 138.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004456/2.068, allocations: 1.934 MB / 0.7761 GB, free: 137.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/2.069, allocations: 150.5 kB / 0.7763 GB, free: 137 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005782/2.07, allocations: 0.6054 MB / 0.7769 GB, free: 136.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01161/2.082, allocations: 6.826 MB / 0.7835 GB, free: 134 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01372/2.095, allocations: 9.115 MB / 0.7924 GB, free: 128.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/2.108, allocations: 8.051 MB / 0.8003 GB, free: 125.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.878e-05/2.108, allocations: 23.88 kB / 0.8003 GB, free: 125.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=958) (initialization): time 0.1208/2.229, allocations: 46.87 MB / 0.8461 GB, free: 92.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/2.229, allocations: 40.09 kB / 0.8461 GB, free: 92.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/2.229, allocations: 72 kB / 0.8462 GB, free: 92.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1068/2.336, allocations: 41.76 MB / 0.887 GB, free: 50.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005532/2.342, allocations: 1.37 MB / 0.8883 GB, free: 49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4008/2.742, allocations: 96.7 MB / 0.9827 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/2.753, allocations: 0.9517 MB / 0.9837 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/2.754, allocations: 318.1 kB / 0.984 GB, free: 133.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * 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 (680): * Single equations (assignments): 678 * 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 {(24,12.2%) 116} * Non-linear torn systems: 1 {34 106} Notification: Performance of prepare postOptimizeDAE: time 0.006529/2.761, allocations: 3.599 MB / 0.9875 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002616/2.763, allocations: 0.8024 MB / 0.9883 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/2.766, allocations: 1.37 MB / 0.9896 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/2.766, allocations: 60.34 kB / 0.9897 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001082/2.767, allocations: 31.28 kB / 0.9897 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.372e-05/2.767, allocations: 31.14 kB / 0.9897 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1432/2.91, allocations: 61.72 MB / 1.05 GB, free: 82.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.461e-05/2.91, allocations: 48 kB / 1.05 GB, free: 82.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/2.912, allocations: 0.6161 MB / 1.051 GB, free: 81.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1002/3.012, allocations: 35.5 MB / 1.085 GB, free: 46.19 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001614/3.014, allocations: 180 kB / 1.085 GB, free: 46.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3698/3.384, allocations: 92.43 MB / 1.176 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-05/3.384, allocations: 77.69 kB / 1.176 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1191/3.503, allocations: 65.24 MB / 1.24 GB, free: 66.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007168/3.51, allocations: 2.486 MB / 1.242 GB, free: 64.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002723/3.513, allocations: 191.9 kB / 1.242 GB, free: 64.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00902/3.522, allocations: 0.7542 MB / 1.243 GB, free: 63.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002705/3.525, allocations: 0.7417 MB / 1.244 GB, free: 62.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006864/3.525, allocations: 208 kB / 1.244 GB, free: 62.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01067/3.536, allocations: 6.525 MB / 1.25 GB, free: 55.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/3.536, allocations: 0 / 1.25 GB, free: 55.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01534/3.551, allocations: 3.418 MB / 1.254 GB, free: 52.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 223 * Number of states: 24 (hemoglobin.state[1],hemoglobin.totalHb.state[1],hemoglobin.T.Speciation.state[11],hemoglobin.T.Speciation.state[10],hemoglobin.T.Speciation.state[9],hemoglobin.T.Speciation.state[8],hemoglobin.T.Speciation.state[7],hemoglobin.T.Speciation.state[6],hemoglobin.T.Speciation.state[5],hemoglobin.T.Speciation.state[4],hemoglobin.T.Speciation.state[3],hemoglobin.T.Speciation.state[2],hemoglobin.T.Speciation.state[1],hemoglobin.R.Speciation.state[11],hemoglobin.R.Speciation.state[10],hemoglobin.R.Speciation.state[9],hemoglobin.R.Speciation.state[8],hemoglobin.R.Speciation.state[7],hemoglobin.R.Speciation.state[6],hemoglobin.R.Speciation.state[5],hemoglobin.R.Speciation.state[4],hemoglobin.R.Speciation.state[3],hemoglobin.R.Speciation.state[2],hemoglobin.R.Speciation.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 (323): * Single equations (assignments): 321 * 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 {(24,12.2%) 116} * Non-linear torn systems: 1 {34 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.3592/3.911, allocations: 73.19 MB / 1.325 GB, free: 153.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.04354/3.954, allocations: 19.67 MB / 1.344 GB, free: 149.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.362e-05/3.954, allocations: 7.375 kB / 1.344 GB, free: 149.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02549/3.98, allocations: 11.74 MB / 1.356 GB, free: 145.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01274/3.992, allocations: 2.193 MB / 1.358 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05955/4.052, allocations: 81.42 MB / 1.437 GB, free: 72.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008572/4.061, allocations: 6.218 MB / 1.443 GB, free: 65.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006161/4.067, allocations: 2.172 MB / 1.446 GB, free: 63.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004309/4.071, allocations: 3.249 MB / 1.449 GB, free: 60.36 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/4.071, allocations: 0 / 1.449 GB, free: 60.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8504/4.922, allocations: 342.7 MB / 1.783 GB, free: 85.57 MB / 0.4982 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/4.922, allocations: 241.6 kB / 1.784 GB, free: 85.33 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/18.25, allocations: 0 / 1.784 GB, free: 85.33 MB / 0.4982 GB (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Develop_Hemoglobin_oxygenation_fmu --startTime=0 --stopTime=18000 --timeout=50 --tolerance=1e-14 Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Develop_Hemoglobin_oxygenation.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.pipe 2>&1) Environment - environmentSimulation: