Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.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.SteadyStates.Examples.Allosteric_Hemoglobin_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC") translateModel(Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, 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.001282/0.001282, 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.282/1.282, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.07668/0.07668, allocations: 15.4 MB / 285.8 MB, free: 6.141 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.0005558/0.0005559, allocations: 20 kB / 347.7 MB, free: 18.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09108, allocations: 51.4 MB / 399.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC): time 0.008403/0.09954, allocations: 8.517 MB / 407.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.1148, allocations: 10.97 MB / 418.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.1167, allocations: 59.44 kB / 418.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000936/0.1176, allocations: 254.1 kB / 418.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.1229, allocations: 1.845 MB / 420.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.1273, allocations: 1.606 MB / 422.3 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00325/0.1305, allocations: 1.919 MB / 424.2 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008292/0.1314, allocations: 486.7 kB / 424.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.1325, allocations: 0.7392 MB / 425.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.134, allocations: 1.074 MB / 426.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.1342, allocations: 72 kB / 426.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.1345, allocations: 76 kB / 426.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.1349, allocations: 422.3 kB / 427.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.1354, allocations: 396.5 kB / 427.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.1367, allocations: 1.473 MB / 428.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1367, allocations: 0 / 428.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1367, allocations: 0 / 428.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.687e-05/0.1367, allocations: 0 / 428.9 MB, free: 0.7266 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.1657/0.3025, allocations: 2.299 MB / 431.2 MB, free: 32.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3025, allocations: 12.23 kB / 431.2 MB, free: 32.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004885/0.303, allocations: 248.7 kB / 431.5 MB, free: 32.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.3055, allocations: 1.203 MB / 432.7 MB, free: 31.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.3056, allocations: 90.72 kB / 432.8 MB, free: 31.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.3058, allocations: 117.4 kB / 432.9 MB, free: 31.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.3082, allocations: 1.287 MB / 434.2 MB, free: 31.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.3082, allocations: 0.7656 kB / 434.2 MB, free: 31.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.3083, allocations: 45.47 kB / 434.2 MB, free: 31.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.3083, allocations: 28.62 kB / 434.2 MB, free: 31.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.31, allocations: 1.048 MB / 435.3 MB, free: 31.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008513/0.3185, allocations: 4.27 MB / 439.6 MB, free: 30.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.32, allocations: 0.9554 MB / 440.5 MB, free: 30.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.737e-05/0.32, allocations: 12.08 kB / 440.5 MB, free: 30.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.3201, allocations: 44.09 kB / 440.6 MB, free: 30.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.296e-06/0.3201, allocations: 3.562 kB / 440.6 MB, free: 30.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=161): time 0.07231/0.3924, allocations: 15.64 MB / 456.2 MB, free: 20.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.3925, allocations: 90.42 kB / 456.3 MB, free: 20.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.3944, allocations: 1.779 MB / 458.1 MB, free: 18.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.3947, allocations: 61.69 kB / 458.1 MB, free: 18.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.3951, allocations: 0.8732 MB / 459 MB, free: 17.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.3954, allocations: 0.5359 MB / 459.6 MB, free: 17.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3955, allocations: 36 kB / 459.6 MB, free: 16.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.3956, allocations: 377.9 kB / 460 MB, free: 16.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.3969, allocations: 1.07 MB / 461 MB, free: 15.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3983, allocations: 1.462 MB / 462.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.3997, allocations: 1.244 MB / 463.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3997, allocations: 4 kB / 463.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01637/0.4161, allocations: 5.458 MB / 469.2 MB, free: 7.227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.4162, allocations: 8 kB / 469.2 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.4162, allocations: 12 kB / 469.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01728/0.4335, allocations: 3.652 MB / 472.9 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009148/0.4344, allocations: 235.6 kB / 473.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03528/0.4697, allocations: 20.08 MB / 493.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.4719, allocations: 119.7 kB / 493.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.4721, allocations: 71.98 kB / 493.4 MB, free: 14.83 MB / 350.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.0007508/0.4728, allocations: 445.3 kB / 493.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.4732, allocations: 217.2 kB / 494 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005603/0.4738, allocations: 343.1 kB / 494.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.4738, allocations: 16 kB / 494.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.823e-05/0.4738, allocations: 8 kB / 494.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.4738, allocations: 11.97 kB / 494.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.4768, allocations: 2.161 MB / 496.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.4768, allocations: 0 / 496.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.4773, allocations: 103.9 kB / 496.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01811/0.4954, allocations: 3.455 MB / 0.4884 GB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003719/0.4958, allocations: 28 kB / 0.4884 GB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0353/0.5311, allocations: 19.8 MB / 0.5077 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5312, allocations: 0 / 0.5077 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/0.5515, allocations: 6.897 MB / 0.5145 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/0.553, allocations: 0.5215 MB / 0.515 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/0.5534, allocations: 28 kB / 0.515 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.5548, allocations: 79.84 kB / 0.5151 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005466/0.5553, allocations: 146.1 kB / 0.5152 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.5554, allocations: 40 kB / 0.5153 GB, free: 12.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001534/0.557, allocations: 1.174 MB / 0.5164 GB, free: 11.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.557, allocations: 4 kB / 0.5164 GB, free: 11.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002763/0.5598, allocations: 0.9219 MB / 0.5173 GB, free: 10.1 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.0002899/0.5601, allocations: 127.1 kB / 0.5174 GB, free: 9.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009196/0.5693, allocations: 3.894 MB / 0.5212 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5693, allocations: 2 kB / 0.5212 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006822/0.5761, allocations: 2.57 MB / 0.5238 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.5781, allocations: 386.6 kB / 0.5241 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.5845, allocations: 4.411 MB / 0.5284 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.5857, allocations: 1.659 MB / 0.5301 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000961/0.5866, allocations: 253.5 kB / 0.5303 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.5869, allocations: 107.4 kB / 0.5304 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5869, allocations: 4 kB / 0.5304 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Templates: time 0.08815/0.6751, allocations: 57.15 MB / 0.5862 GB, free: 3.363 MB / 446.1 MB make -j1 -f Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC.pipe ; mkfifo Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC.pipe >> ../files/Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC.sim & ./Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC.pipe 2>&1) Environment - environmentSimulation: