Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.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.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",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.0009911/0.0009915, allocations: 97.97 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.0009605/0.0009606, 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.437/1.437, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.07651/0.07651, allocations: 15.39 MB / 285.8 MB, free: 5.918 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.0005072/0.0005072, allocations: 16 kB / 347.8 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 51.41 MB / 399.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC): time 0.004835/0.1078, allocations: 4.726 MB / 403.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007038/0.1148, allocations: 5.555 MB / 409.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.1152, allocations: 31.75 kB / 409.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.1155, allocations: 127.2 kB / 409.6 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.1172, allocations: 0.8292 MB / 410.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.1191, allocations: 0.8146 MB / 411.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.1212, allocations: 2.106 MB / 413.4 MB, free: 352 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1223, allocations: 0.9314 MB / 414.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008554/0.1231, allocations: 0.8169 MB / 415.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.1243, allocations: 1.132 MB / 416.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.1245, allocations: 80 kB / 416.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.1248, allocations: 84 kB / 416.4 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.1252, allocations: 0.4941 MB / 416.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.1256, allocations: 468.3 kB / 417.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.1273, allocations: 2.066 MB / 419.4 MB, free: 10.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1273, allocations: 3.938 kB / 419.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1273, allocations: 4 kB / 419.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.92e-05/0.1274, allocations: 0 / 419.4 MB, free: 10.23 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: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.006371/0.1338, allocations: 3.102 MB / 422.5 MB, free: 7.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1338, allocations: 8.031 kB / 422.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003408/0.1342, allocations: 227.8 kB / 422.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.1346, allocations: 292.3 kB / 423 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.1382, allocations: 1.601 MB / 424.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.1384, allocations: 123 kB / 424.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.1387, allocations: 163.9 kB / 424.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003568/0.1423, allocations: 2.194 MB / 427.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.1423, allocations: 4 kB / 427.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.1425, allocations: 56 kB / 427.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.217e-05/0.1426, allocations: 62.98 kB / 427.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.1459, allocations: 2.021 MB / 429.3 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1765/0.3224, allocations: 7.286 MB / 436.5 MB, free: 31.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.3248, allocations: 1.599 MB / 438.1 MB, free: 31.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.744e-05/0.3249, allocations: 18.89 kB / 438.2 MB, free: 31.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3249, allocations: 55 kB / 438.2 MB, free: 31.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=118): time 3.327e-06/0.3249, allocations: 0 / 438.2 MB, free: 31.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=183): time 0.0883/0.4133, allocations: 29.35 MB / 467.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.4134, allocations: 257.3 kB / 467.8 MB, free: 8.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.416, allocations: 2.431 MB / 470.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003449/0.4164, allocations: 61.7 kB / 470.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/0.417, allocations: 1.075 MB / 471.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004634/0.4174, allocations: 0.6212 MB / 472 MB, free: 4.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.4176, allocations: 48 kB / 472.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.4177, allocations: 402.5 kB / 472.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.4198, allocations: 1.729 MB / 474.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/0.4221, allocations: 2.36 MB / 476.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.4249, allocations: 2.031 MB / 478.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.4249, allocations: 11.95 kB / 478.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.02238/0.4473, allocations: 8.62 MB / 487.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.4474, allocations: 23.94 kB / 487.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.681e-05/0.4475, allocations: 16 kB / 487.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01778/0.4653, allocations: 5.262 MB / 492.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.4672, allocations: 455.3 kB / 492.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04445/0.5117, allocations: 24.5 MB / 0.5053 GB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.5145, allocations: 279.4 kB / 0.5056 GB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003082/0.5149, allocations: 96 kB / 0.5057 GB, free: 6.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * 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 (205): * Single equations (assignments): 203 * 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 {(8,34.4%) 36} * Non-linear torn systems: 1 {10 34} Notification: Performance of prepare postOptimizeDAE: time 0.001505/0.5164, allocations: 0.8599 MB / 0.5065 GB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006195/0.517, allocations: 256.8 kB / 0.5068 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000937/0.518, allocations: 429.7 kB / 0.5072 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.518, allocations: 20 kB / 0.5072 GB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.721e-05/0.518, allocations: 8 kB / 0.5072 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.5181, allocations: 15.95 kB / 0.5072 GB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/0.5487, allocations: 12.29 MB / 0.5192 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.756e-05/0.5488, allocations: 16.94 kB / 0.5192 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009352/0.5497, allocations: 239.6 kB / 0.5194 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01752/0.5672, allocations: 4.994 MB / 0.5243 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003903/0.5677, allocations: 63.94 kB / 0.5244 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04125/0.6089, allocations: 23.42 MB / 0.5473 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.701e-05/0.609, allocations: 24.25 kB / 0.5473 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02619/0.6352, allocations: 12.17 MB / 0.5592 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/0.6377, allocations: 0.6826 MB / 0.5598 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/0.6383, allocations: 59.98 kB / 0.5599 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/0.6407, allocations: 231.5 kB / 0.5601 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007258/0.6414, allocations: 252.2 kB / 0.5604 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.6416, allocations: 64 kB / 0.5604 GB, free: 12.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002351/0.6439, allocations: 1.656 MB / 0.562 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6439, allocations: 0 / 0.562 GB, free: 11.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003924/0.6479, allocations: 1.016 MB / 0.563 GB, free: 10.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 7 (totalHb.state[1],T0_in_T.state[3],T0_in_T.state[2],T0_in_T.state[1],R0_in_R.state[3],R0_in_R.state[2],R0_in_R.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 (111): * Single equations (assignments): 109 * 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 {(8,34.4%) 36} * Non-linear torn systems: 1 {10 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.02777/0.6757, allocations: 17.14 MB / 0.5798 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01146/0.6872, allocations: 5.374 MB / 0.585 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/0.6872, allocations: 4 kB / 0.585 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1698/0.857, allocations: 3.33 MB / 0.5883 GB, free: 148.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/0.8605, allocations: 0.5796 MB / 0.5888 GB, free: 148.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.8789, allocations: 22.15 MB / 0.6105 GB, free: 131.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/0.8816, allocations: 2.167 MB / 0.6126 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00249/0.8841, allocations: 0.6196 MB / 0.6132 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.8852, allocations: 0.9132 MB / 0.6141 GB, free: 130.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.8852, allocations: 3.938 kB / 0.6141 GB, free: 130.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/1.002, allocations: 89.8 MB / 0.7018 GB, free: 53.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/1.002, allocations: 239 kB / 0.702 GB, free: 53.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.946/5.948, allocations: 0 / 0.702 GB, free: 53.09 MB / 446.1 MB (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC_fmu --startTime=0 --stopTime=15000 --timeout=50 --tolerance=1e-14 Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) Environment - environmentSimulation: