Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.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_titration,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Develop_Hemoglobin_titration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Develop_Hemoglobin_titration",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.001088/0.001088, 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.001087/0.001087, 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.41/1.41, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.08106/0.08106, allocations: 15.4 MB / 285.8 MB, free: 5.91 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.000585/0.0005851, allocations: 16 kB / 347.8 MB, free: 18.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1073, allocations: 51.41 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration): time 0.01059/0.118, allocations: 10.07 MB / 409.3 MB, free: 4.461 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02204/0.14, allocations: 15.97 MB / 425.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.1428, allocations: 75.38 kB / 425.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000969/0.1437, allocations: 305.7 kB / 425.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007659/0.1514, allocations: 2.344 MB / 427.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2229/0.3744, allocations: 2.301 MB / 430.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.3852, allocations: 7.404 MB / 437.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004978/0.3902, allocations: 3.292 MB / 440.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006597/0.3968, allocations: 2.659 MB / 443.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009432/0.4063, allocations: 3.84 MB / 447.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002902/0.4092, allocations: 291 kB / 447.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004654/0.4139, allocations: 310.1 kB / 448 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00269/0.4166, allocations: 1.66 MB / 449.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004609/0.4213, allocations: 1.8 MB / 451.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.4353, allocations: 12.72 MB / 464.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4353, allocations: 0 / 464.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4353, allocations: 0 / 464.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006146/0.436, allocations: 0 / 464.2 MB, free: 2.91 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: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.02781/0.4638, allocations: 10.16 MB / 474.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4639, allocations: 16.02 kB / 474.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003611/0.4675, allocations: 0.7872 MB / 475.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003445/0.4709, allocations: 0.9171 MB / 476.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01879/0.4897, allocations: 7.317 MB / 483.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005313/0.4903, allocations: 403.8 kB / 483.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002841/0.4932, allocations: 0.5155 MB / 484.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02223/0.5154, allocations: 8.473 MB / 492.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.5156, allocations: 7.938 kB / 492.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009461/0.5165, allocations: 192 kB / 493 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.486e-05/0.5166, allocations: 120 kB / 493.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/0.5388, allocations: 8.573 MB / 0.4899 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08061/0.6194, allocations: 30.68 MB / 0.5199 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.6302, allocations: 6.011 MB / 0.5257 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/0.6306, allocations: 46.7 kB / 0.5258 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.761e-05/0.6307, allocations: 105.8 kB / 0.5259 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=377): time 5.721e-06/0.6307, allocations: 0 / 0.5259 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=567): time 1.192/1.823, allocations: 245.6 MB / 0.7658 GB, free: 3.617 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/1.823, allocations: 0.7482 MB / 0.7665 GB, free: 2.699 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2288/2.052, allocations: 9.308 MB / 0.7756 GB, free: 141.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002228/2.054, allocations: 137.9 kB / 0.7757 GB, free: 141.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005301/2.059, allocations: 3.61 MB / 0.7792 GB, free: 139.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003919/2.063, allocations: 1.949 MB / 0.7811 GB, free: 137.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/2.064, allocations: 150.6 kB / 0.7813 GB, free: 137.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006005/2.065, allocations: 0.6101 MB / 0.7819 GB, free: 137.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0117/2.077, allocations: 7.383 MB / 0.7891 GB, free: 134.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01243/2.089, allocations: 9.689 MB / 0.7986 GB, free: 129.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/2.101, allocations: 8.624 MB / 0.807 GB, free: 125.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.23e-05/2.102, allocations: 23.5 kB / 0.807 GB, free: 125.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=966) (initialization): time 0.1274/2.229, allocations: 49.01 MB / 0.8549 GB, free: 83.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/2.229, allocations: 36 kB / 0.8549 GB, free: 83.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002291/2.229, allocations: 72 kB / 0.855 GB, free: 83.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1081/2.338, allocations: 43.08 MB / 0.897 GB, free: 40.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00541/2.343, allocations: 1.385 MB / 0.8984 GB, free: 39.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3722/2.715, allocations: 100.7 MB / 0.9967 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/2.726, allocations: 0.9646 MB / 0.9977 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002236/2.729, allocations: 319.2 kB / 0.998 GB, free: 128 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * 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 (688): * Single equations (assignments): 686 * 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 {(26,11.2%) 114} * Non-linear torn systems: 1 {34 106} Notification: Performance of prepare postOptimizeDAE: time 0.009331/2.738, allocations: 3.616 MB / 1.001 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004367/2.742, allocations: 0.8002 MB / 1.002 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/2.747, allocations: 1.42 MB / 1.004 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.574e-05/2.747, allocations: 62.94 kB / 1.004 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000101/2.747, allocations: 28.72 kB / 1.004 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/2.748, allocations: 30.81 kB / 1.004 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1492/2.897, allocations: 64.54 MB / 1.067 GB, free: 65.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-05/2.897, allocations: 52 kB / 1.067 GB, free: 65.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/2.899, allocations: 0.6043 MB / 1.067 GB, free: 65.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1024/3.001, allocations: 36.44 MB / 1.103 GB, free: 28.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001454/3.003, allocations: 184 kB / 1.103 GB, free: 28.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3622/3.365, allocations: 94.91 MB / 1.196 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.056e-05/3.365, allocations: 77.97 kB / 1.196 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1271/3.492, allocations: 67.7 MB / 1.262 GB, free: 43.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008072/3.5, allocations: 2.563 MB / 1.265 GB, free: 41.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003669/3.504, allocations: 191.9 kB / 1.265 GB, free: 40.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009649/3.514, allocations: 0.7677 MB / 1.266 GB, free: 40.06 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003108/3.517, allocations: 0.7505 MB / 1.266 GB, free: 39.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009388/3.518, allocations: 212 kB / 1.266 GB, free: 39.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01181/3.53, allocations: 6.453 MB / 1.273 GB, free: 32.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.02e-07/3.53, allocations: 0 / 1.273 GB, free: 32.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01642/3.546, allocations: 3.461 MB / 1.276 GB, free: 29.21 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 229 * Number of states: 25 (state[1],deoxyhemoglobin.state[1],deoxyhemoglobin.totalHb.state[1],deoxyhemoglobin.T.Speciation.state[11],deoxyhemoglobin.T.Speciation.state[10],deoxyhemoglobin.T.Speciation.state[9],deoxyhemoglobin.T.Speciation.state[8],deoxyhemoglobin.T.Speciation.state[7],deoxyhemoglobin.T.Speciation.state[6],deoxyhemoglobin.T.Speciation.state[5],deoxyhemoglobin.T.Speciation.state[4],deoxyhemoglobin.T.Speciation.state[3],deoxyhemoglobin.T.Speciation.state[2],deoxyhemoglobin.T.Speciation.state[1],deoxyhemoglobin.R.Speciation.state[11],deoxyhemoglobin.R.Speciation.state[10],deoxyhemoglobin.R.Speciation.state[9],deoxyhemoglobin.R.Speciation.state[8],deoxyhemoglobin.R.Speciation.state[7],deoxyhemoglobin.R.Speciation.state[6],deoxyhemoglobin.R.Speciation.state[5],deoxyhemoglobin.R.Speciation.state[4],deoxyhemoglobin.R.Speciation.state[3],deoxyhemoglobin.R.Speciation.state[2],deoxyhemoglobin.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 (328): * Single equations (assignments): 326 * 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 {(26,11.2%) 114} * Non-linear torn systems: 1 {34 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.3623/3.908, allocations: 75.9 MB / 1.35 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0382/3.947, allocations: 20.68 MB / 1.37 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.77e-05/3.947, allocations: 7.438 kB / 1.37 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02622/3.973, allocations: 12.18 MB / 1.382 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/3.983, allocations: 2.133 MB / 1.384 GB, free: 126.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05783/4.041, allocations: 82.11 MB / 1.465 GB, free: 42.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006791/4.048, allocations: 6.246 MB / 1.471 GB, free: 36.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006191/4.054, allocations: 2.141 MB / 1.473 GB, free: 34.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004516/4.058, allocations: 3.288 MB / 1.476 GB, free: 31.03 MB / 494.1 MB Notification: Performance of SimCode: time 1.083e-06/4.058, allocations: 4 kB / 1.476 GB, free: 31.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8334/4.892, allocations: 342.5 MB / 1.811 GB, free: 60.2 MB / 0.4982 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/4.892, allocations: 241.1 kB / 1.811 GB, free: 59.96 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/18.21, allocations: 3.75 kB / 1.811 GB, free: 59.96 MB / 0.4982 GB (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Develop_Hemoglobin_titration_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Develop_Hemoglobin_titration.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.pipe 2>&1) Environment - environmentSimulation: