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: translateModel(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation,tolerance=1e-14,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation") translateModel(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation,tolerance=1e-14,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009786/0.0009787, 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.001027/0.001027, 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.271/1.271, 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.07779/0.07779, allocations: 15.4 MB / 285.8 MB, free: 5.898 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.0005174/0.0005177, allocations: 20 kB / 347.7 MB, free: 18.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07991/0.08044, allocations: 51.4 MB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation): time 0.008898/0.08938, allocations: 9.884 MB / 409 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.1087, allocations: 15.93 MB / 424.9 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.1109, allocations: 75.38 kB / 425 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.1119, allocations: 297.7 kB / 425.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006428/0.1183, allocations: 2.332 MB / 427.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1609/0.2792, allocations: 2.293 MB / 429.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009141/0.2884, allocations: 7.359 MB / 437.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004172/0.2926, allocations: 3.246 MB / 440.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005545/0.2982, allocations: 2.644 MB / 443.1 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008059/0.3063, allocations: 3.823 MB / 447 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0021/0.3084, allocations: 288.3 kB / 447.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003512/0.3119, allocations: 310.8 kB / 447.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00214/0.3141, allocations: 1.651 MB / 449.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003319/0.3174, allocations: 1.794 MB / 451 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.3291, allocations: 12.69 MB / 463.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3292, allocations: 0 / 463.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.3292, allocations: 4 kB / 463.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005766/0.3298, allocations: 0.875 kB / 463.7 MB, free: 3.258 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.02614/0.3559, allocations: 10.11 MB / 473.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.356, allocations: 16.02 kB / 473.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.3595, allocations: 0.9067 MB / 474.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/0.3752, allocations: 7.303 MB / 482 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/0.3757, allocations: 393.5 kB / 482.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002068/0.3778, allocations: 0.5077 MB / 482.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.3965, allocations: 8.433 MB / 491.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-05/0.3966, allocations: 3.938 kB / 491.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008771/0.3975, allocations: 192 kB / 491.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.3976, allocations: 124 kB / 491.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.4147, allocations: 8.549 MB / 0.4885 GB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07074/0.4855, allocations: 30.43 MB / 0.5182 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.4968, allocations: 6.604 MB / 0.5247 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/0.4972, allocations: 54.69 kB / 0.5247 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.032e-05/0.4973, allocations: 99.77 kB / 0.5248 GB, free: 11.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=374): time 7.314e-06/0.4974, allocations: 0 / 0.5248 GB, free: 11.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=562): time 1.085/1.582, allocations: 240.8 MB / 0.7599 GB, free: 9.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/1.583, allocations: 0.7269 MB / 0.7607 GB, free: 8.742 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1759/1.759, allocations: 9.392 MB / 0.7698 GB, free: 139.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001393/1.76, allocations: 134.9 kB / 0.77 GB, free: 139.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003611/1.764, allocations: 3.606 MB / 0.7735 GB, free: 138.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002213/1.766, allocations: 1.934 MB / 0.7754 GB, free: 137.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006776/1.767, allocations: 150.6 kB / 0.7755 GB, free: 137.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004052/1.767, allocations: 0.6089 MB / 0.7761 GB, free: 136.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/1.777, allocations: 6.828 MB / 0.7828 GB, free: 134.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01141/1.789, allocations: 9.107 MB / 0.7917 GB, free: 129 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/1.799, allocations: 8.055 MB / 0.7995 GB, free: 125.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.188e-05/1.799, allocations: 25.66 kB / 0.7996 GB, free: 125.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=958) (initialization): time 0.1135/1.913, allocations: 46.87 MB / 0.8453 GB, free: 93.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.388e-05/1.913, allocations: 36 kB / 0.8454 GB, free: 93.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/1.913, allocations: 72 kB / 0.8454 GB, free: 93.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1017/2.015, allocations: 41.76 MB / 0.8862 GB, free: 51.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005328/2.02, allocations: 1.365 MB / 0.8875 GB, free: 50.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3351/2.355, allocations: 96.71 MB / 0.982 GB, free: 134.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009445/2.365, allocations: 0.948 MB / 0.9829 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/2.366, allocations: 317.9 kB / 0.9832 GB, free: 134.2 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.005849/2.372, allocations: 3.603 MB / 0.9867 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002273/2.374, allocations: 0.801 MB / 0.9875 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/2.377, allocations: 1.371 MB / 0.9889 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/2.377, allocations: 57.09 kB / 0.9889 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.518e-05/2.378, allocations: 30.47 kB / 0.9889 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/2.378, allocations: 34.7 kB / 0.989 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1369/2.515, allocations: 61.71 MB / 1.049 GB, free: 83.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.417e-05/2.515, allocations: 52.55 kB / 1.049 GB, free: 83.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/2.517, allocations: 0.6122 MB / 1.05 GB, free: 82.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.09703/2.614, allocations: 35.5 MB / 1.085 GB, free: 47.42 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001265/2.615, allocations: 183.3 kB / 1.085 GB, free: 47.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3232/2.938, allocations: 92.43 MB / 1.175 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-05/2.938, allocations: 76.81 kB / 1.175 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1466/3.085, allocations: 65.25 MB / 1.239 GB, free: 67.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006654/3.092, allocations: 2.49 MB / 1.241 GB, free: 65.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00201/3.094, allocations: 191.9 kB / 1.241 GB, free: 65.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007617/3.101, allocations: 0.7472 MB / 1.242 GB, free: 64.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/3.103, allocations: 0.7417 MB / 1.243 GB, free: 63.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004834/3.104, allocations: 204 kB / 1.243 GB, free: 63.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.009049/3.113, allocations: 6.525 MB / 1.249 GB, free: 57.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/3.113, allocations: 1.406 kB / 1.249 GB, free: 57.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01361/3.126, allocations: 3.422 MB / 1.253 GB, free: 53.65 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.001405/3.128, allocations: 341.9 kB / 1.253 GB, free: 53.31 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03484/3.163, allocations: 19.67 MB / 1.272 GB, free: 33.56 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.94e-05/3.163, allocations: 8 kB / 1.272 GB, free: 33.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02552/3.188, allocations: 11.74 MB / 1.284 GB, free: 21.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/3.198, allocations: 2.186 MB / 1.286 GB, free: 19.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/3.229, allocations: 24.03 MB / 1.309 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00786/3.237, allocations: 6.225 MB / 1.315 GB, free: 4.594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007134/3.245, allocations: 2.172 MB / 1.318 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/3.246, allocations: 463.4 kB / 1.318 GB, free: 1.961 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/3.246, allocations: 0 / 1.318 GB, free: 1.961 MB / 494.1 MB Notification: Performance of Templates: time 0.6748/3.921, allocations: 261.2 MB / 1.573 GB, free: 104.6 MB / 494.1 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.makefile Environment - environmentSimulation: (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 & ./Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.pipe 2>&1) Environment - environmentSimulation: