Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_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_Hemoglobin_MWC,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin_MWC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin_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.001021/0.001021, allocations: 99.78 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.000926/0.000926, 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.512/1.512, 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.09119/0.09119, allocations: 15.4 MB / 285.8 MB, free: 5.91 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.0005911/0.0005914, allocations: 16 kB / 347.8 MB, free: 18.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.102, allocations: 51.41 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC): time 0.007941/0.11, allocations: 8.482 MB / 407.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.1246, allocations: 11.03 MB / 418.7 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.1265, allocations: 55.5 kB / 418.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.1272, allocations: 254.1 kB / 419 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005507/0.1327, allocations: 1.845 MB / 420.8 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004855/0.1376, allocations: 1.618 MB / 422.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004738/0.1423, allocations: 1.919 MB / 424.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.1434, allocations: 0.4947 MB / 424.9 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1445, allocations: 0.7314 MB / 425.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.1461, allocations: 1.074 MB / 426.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.1464, allocations: 72 kB / 426.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.1468, allocations: 72 kB / 426.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.1472, allocations: 434.3 kB / 427.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.1477, allocations: 392.6 kB / 427.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.149, allocations: 1.481 MB / 429.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.149, allocations: 0 / 429.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.149, allocations: 0 / 429.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.038e-05/0.149, allocations: 0 / 429.1 MB, free: 0.5234 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: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.1667/0.3157, allocations: 2.299 MB / 431.4 MB, free: 35.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3158, allocations: 9.625 kB / 431.4 MB, free: 35.62 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003207/0.3161, allocations: 172.5 kB / 431.6 MB, free: 35.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.3164, allocations: 234 kB / 431.8 MB, free: 35.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.3187, allocations: 1.209 MB / 433 MB, free: 35.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/0.3188, allocations: 89.55 kB / 433.1 MB, free: 35.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.319, allocations: 119.4 kB / 433.2 MB, free: 35.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.3211, allocations: 1.288 MB / 434.5 MB, free: 34.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.3211, allocations: 4.391 kB / 434.5 MB, free: 34.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/0.3212, allocations: 45.03 kB / 434.6 MB, free: 34.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.3213, allocations: 28 kB / 434.6 MB, free: 34.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.323, allocations: 1.051 MB / 435.6 MB, free: 34.4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008564/0.3316, allocations: 4.269 MB / 439.9 MB, free: 32.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.333, allocations: 0.9438 MB / 440.9 MB, free: 32.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.099e-05/0.3331, allocations: 10.66 kB / 440.9 MB, free: 32.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3331, allocations: 52.83 kB / 440.9 MB, free: 32.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.085e-06/0.3331, allocations: 0 / 440.9 MB, free: 32.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=161): time 0.07464/0.4078, allocations: 15.64 MB / 456.6 MB, free: 21.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.4079, allocations: 98.42 kB / 456.6 MB, free: 21.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.41, allocations: 1.784 MB / 458.4 MB, free: 19.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.4103, allocations: 49.7 kB / 458.5 MB, free: 19.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.4107, allocations: 0.8782 MB / 459.4 MB, free: 18.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.4111, allocations: 0.5397 MB / 459.9 MB, free: 18.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.4112, allocations: 36 kB / 459.9 MB, free: 18.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.4113, allocations: 377.9 kB / 460.3 MB, free: 17.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.4126, allocations: 1.062 MB / 461.4 MB, free: 16.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.4141, allocations: 1.468 MB / 462.8 MB, free: 15.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.4156, allocations: 1.251 MB / 464.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.4156, allocations: 0 / 464.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01744/0.433, allocations: 5.45 MB / 469.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.4331, allocations: 16.06 kB / 469.6 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.4332, allocations: 13.31 kB / 469.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01857/0.4517, allocations: 3.644 MB / 473.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.4528, allocations: 239.6 kB / 473.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03615/0.489, allocations: 20.08 MB / 493.5 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.4912, allocations: 115.7 kB / 493.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.4913, allocations: 75.98 kB / 493.7 MB, free: 92 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (120): * Single equations (assignments): 118 * 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 {(7,75.5%) 52} * Non-linear torn systems: 1 {10 49} Notification: Performance of prepare postOptimizeDAE: time 0.0007209/0.4921, allocations: 437.3 kB / 494.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.4924, allocations: 226.1 kB / 494.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006832/0.4931, allocations: 347.2 kB / 494.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.4931, allocations: 16 kB / 494.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/0.4932, allocations: 12 kB / 494.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.4932, allocations: 7.969 kB / 494.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.4962, allocations: 2.156 MB / 496.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.4962, allocations: 4 kB / 496.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.4967, allocations: 95.88 kB / 497 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01893/0.5156, allocations: 3.458 MB / 0.4887 GB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.5159, allocations: 31.98 kB / 0.4887 GB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03594/0.5519, allocations: 19.8 MB / 0.5081 GB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5519, allocations: 0 / 0.5081 GB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/0.5725, allocations: 6.898 MB / 0.5148 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.574, allocations: 0.5292 MB / 0.5153 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/0.5743, allocations: 27.98 kB / 0.5154 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.5758, allocations: 75.95 kB / 0.5154 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005687/0.5764, allocations: 142.2 kB / 0.5156 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.5765, allocations: 48.05 kB / 0.5156 GB, free: 13.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001564/0.578, allocations: 1.17 MB / 0.5167 GB, free: 12.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.166e-06/0.5781, allocations: 0 / 0.5167 GB, free: 12.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0023/0.5804, allocations: 0.9261 MB / 0.5177 GB, free: 11.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (hemoglobinConservationLaw.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 (45): * Single equations (assignments): 43 * 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 {(6,86.1%) 53} * Non-linear torn systems: 1 {10 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0206/0.601, allocations: 7.538 MB / 0.525 GB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009812/0.6108, allocations: 3.91 MB / 0.5288 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.6109, allocations: 0 / 0.5288 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008069/0.619, allocations: 2.559 MB / 0.5313 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.6211, allocations: 380.1 kB / 0.5317 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.6321, allocations: 13.41 MB / 0.5448 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.6337, allocations: 1.651 MB / 0.5464 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009871/0.6347, allocations: 253.5 kB / 0.5466 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000823/0.6355, allocations: 0.757 MB / 0.5474 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.144e-06/0.6355, allocations: 0 / 0.5474 GB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2912/0.9267, allocations: 74.43 MB / 0.6201 GB, free: 135.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.9269, allocations: 235.1 kB / 0.6203 GB, free: 135.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.887/5.814, allocations: 0 / 0.6203 GB, free: 135.4 MB / 446.1 MB (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin_MWC_fmu --startTime=0 --stopTime=15000 --timeout=50 --tolerance=1e-14 Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin_MWC.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC.pipe 2>&1) Environment - environmentSimulation: