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: translateModel(Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC,tolerance=1e-14,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC") translateModel(Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC,tolerance=1e-14,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.000889, 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.0009792/0.0009792, allocations: 177.3 kB / 15.94 MB, free: 228 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.328/1.328, allocations: 205.4 MB / 222.1 MB, free: 5.551 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.07455/0.07455, allocations: 15.4 MB / 285.8 MB, free: 5.797 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.0005572/0.0005575, allocations: 20 kB / 347.7 MB, free: 18.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0837/0.08427, allocations: 51.41 MB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC): time 0.007985/0.09229, allocations: 8.482 MB / 407.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.1065, allocations: 11.04 MB / 418.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.1082, allocations: 59.44 kB / 418.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007488/0.109, allocations: 254.1 kB / 418.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005366/0.1143, allocations: 1.842 MB / 420.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00483/0.1192, allocations: 1.618 MB / 422.4 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003251/0.1225, allocations: 1.915 MB / 424.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007534/0.1233, allocations: 498.6 kB / 424.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009549/0.1242, allocations: 0.7353 MB / 425.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.1255, allocations: 1.078 MB / 426.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.1257, allocations: 68 kB / 426.6 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.126, allocations: 80 kB / 426.7 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.1264, allocations: 426.4 kB / 427.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.1268, allocations: 396.5 kB / 427.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.128, allocations: 1.473 MB / 429 MB, free: 0.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.128, allocations: 0 / 429 MB, free: 0.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.128, allocations: 3.938 kB / 429 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.437e-05/0.1281, allocations: 0 / 429 MB, free: 0.6211 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.1627/0.2908, allocations: 2.296 MB / 431.3 MB, free: 35.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2909, allocations: 13.61 kB / 431.3 MB, free: 35.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/0.2915, allocations: 237.6 kB / 431.5 MB, free: 35.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.2941, allocations: 1.2 MB / 432.7 MB, free: 35.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.592e-05/0.2942, allocations: 95.47 kB / 432.8 MB, free: 35.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.2945, allocations: 116.8 kB / 432.9 MB, free: 35.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.2968, allocations: 1.287 MB / 434.2 MB, free: 34.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.2969, allocations: 0 / 434.2 MB, free: 34.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.297, allocations: 46.31 kB / 434.3 MB, free: 34.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.297, allocations: 31.02 kB / 434.3 MB, free: 34.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.2988, allocations: 1.053 MB / 435.4 MB, free: 34.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009519/0.3084, allocations: 4.271 MB / 439.6 MB, free: 32.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.31, allocations: 0.9476 MB / 440.6 MB, free: 32.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/0.3101, allocations: 11.09 kB / 440.6 MB, free: 32.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3102, allocations: 44.62 kB / 440.6 MB, free: 32.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 2.925e-06/0.3102, allocations: 3 kB / 440.6 MB, free: 32.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=161): time 0.07172/0.3819, allocations: 15.64 MB / 456.3 MB, free: 21.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.382, allocations: 94.42 kB / 456.4 MB, free: 21.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.3839, allocations: 1.784 MB / 458.2 MB, free: 19.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.3842, allocations: 53.7 kB / 458.2 MB, free: 19.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.3846, allocations: 0.8742 MB / 459.1 MB, free: 19.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/0.385, allocations: 0.535 MB / 459.6 MB, free: 18.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.3851, allocations: 40 kB / 459.7 MB, free: 18.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.3852, allocations: 377.9 kB / 460 MB, free: 18.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.3866, allocations: 1.066 MB / 461.1 MB, free: 17.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.3881, allocations: 1.471 MB / 462.6 MB, free: 15.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.3897, allocations: 1.243 MB / 463.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.3897, allocations: 7.938 kB / 463.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01675/0.4064, allocations: 5.451 MB / 469.3 MB, free: 8.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4065, allocations: 12 kB / 469.3 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.4065, allocations: 8 kB / 469.3 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01723/0.4238, allocations: 3.652 MB / 472.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000878/0.4247, allocations: 236.9 kB / 473.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03535/0.46, allocations: 20.08 MB / 493.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.4621, allocations: 111.7 kB / 493.4 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.4624, allocations: 76.86 kB / 493.4 MB, free: 320 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.0007623/0.4631, allocations: 441.3 kB / 493.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.4635, allocations: 221.1 kB / 494.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007068/0.4642, allocations: 347.2 kB / 494.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.4642, allocations: 16 kB / 494.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.603e-05/0.4643, allocations: 12 kB / 494.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4643, allocations: 7.969 kB / 494.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.4671, allocations: 2.157 MB / 496.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.4672, allocations: 0.875 kB / 496.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.4676, allocations: 103.9 kB / 496.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01784/0.4854, allocations: 3.448 MB / 0.4884 GB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002899/0.4858, allocations: 31.98 kB / 0.4885 GB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03558/0.5214, allocations: 19.81 MB / 0.5078 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5214, allocations: 0 / 0.5078 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/0.5414, allocations: 6.896 MB / 0.5145 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.5429, allocations: 0.5253 MB / 0.5151 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005445/0.5435, allocations: 36.06 kB / 0.5151 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.5451, allocations: 71.88 kB / 0.5152 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005672/0.5457, allocations: 150.1 kB / 0.5153 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.5459, allocations: 36 kB / 0.5153 GB, free: 13.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.5474, allocations: 1.178 MB / 0.5165 GB, free: 12.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.5474, allocations: 0 / 0.5165 GB, free: 12.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002559/0.55, allocations: 0.9296 MB / 0.5174 GB, free: 11.58 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.000251/0.5503, allocations: 119.6 kB / 0.5175 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009059/0.5593, allocations: 3.908 MB / 0.5213 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5594, allocations: 0 / 0.5213 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00721/0.5666, allocations: 2.559 MB / 0.5238 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.5686, allocations: 382.9 kB / 0.5242 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006739/0.5753, allocations: 4.437 MB / 0.5285 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.5767, allocations: 1.655 MB / 0.5301 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009515/0.5777, allocations: 249.6 kB / 0.5304 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.578, allocations: 111.4 kB / 0.5305 GB, free: 14.05 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.578, allocations: 0 / 0.5305 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Templates: time 0.08396/0.662, allocations: 57.2 MB / 0.5863 GB, free: 4.773 MB / 446.1 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC.makefile Environment - environmentSimulation: (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 & ./Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC.pipe 2>&1) Environment - environmentSimulation: