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: "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_Allosteric_Hemoglobin_MWC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_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.0009029/0.0009029, 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.0009221/0.0009221, 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.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.07292/0.07292, allocations: 15.4 MB / 285.8 MB, free: 5.895 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.0005245/0.0005246, allocations: 16 kB / 347.8 MB, free: 18.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09626, allocations: 51.41 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC): time 0.008286/0.1046, allocations: 8.513 MB / 407.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.1204, allocations: 10.96 MB / 418.6 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.1223, allocations: 59.44 kB / 418.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.123, allocations: 258 kB / 418.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005761/0.1288, allocations: 1.838 MB / 420.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004668/0.1335, allocations: 1.629 MB / 422.4 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.1366, allocations: 1.908 MB / 424.3 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.1373, allocations: 498.7 kB / 424.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/0.1382, allocations: 0.7353 MB / 425.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.1394, allocations: 1.074 MB / 426.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.1396, allocations: 72 kB / 426.7 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.1399, allocations: 72 kB / 426.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.1403, allocations: 434.3 kB / 427.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.1406, allocations: 396.5 kB / 427.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.1418, allocations: 1.473 MB / 429 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1418, allocations: 0 / 429 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1419, allocations: 0 / 429 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.1419, allocations: 4 kB / 429 MB, free: 0.5742 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.193/0.3349, allocations: 2.285 MB / 431.3 MB, free: 35.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3349, allocations: 10.16 kB / 431.3 MB, free: 35.62 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005149/0.3355, allocations: 181 kB / 431.5 MB, free: 35.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/0.3359, allocations: 237.9 kB / 431.7 MB, free: 35.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.3384, allocations: 1.204 MB / 433 MB, free: 35.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/0.3385, allocations: 90.27 kB / 433 MB, free: 35.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.3387, allocations: 114.5 kB / 433.2 MB, free: 35.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.3414, allocations: 1.292 MB / 434.4 MB, free: 34.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3414, allocations: 0 / 434.4 MB, free: 34.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-05/0.3415, allocations: 46.28 kB / 434.5 MB, free: 34.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.3416, allocations: 26.47 kB / 434.5 MB, free: 34.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.3435, allocations: 1.05 MB / 435.6 MB, free: 34.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009983/0.3535, allocations: 4.268 MB / 439.8 MB, free: 32.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.3553, allocations: 0.9487 MB / 440.8 MB, free: 32.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.13e-05/0.3553, allocations: 10.53 kB / 440.8 MB, free: 32.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3554, allocations: 52.41 kB / 440.8 MB, free: 32.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.917e-06/0.3554, allocations: 0 / 440.8 MB, free: 32.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=161): time 0.07198/0.4274, allocations: 15.64 MB / 456.5 MB, free: 21.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.4275, allocations: 98.42 kB / 456.6 MB, free: 21.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.4295, allocations: 1.779 MB / 458.4 MB, free: 19.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002299/0.4297, allocations: 53.7 kB / 458.4 MB, free: 19.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.4301, allocations: 0.8735 MB / 459.3 MB, free: 18.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.4305, allocations: 0.5377 MB / 459.8 MB, free: 18.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4306, allocations: 40 kB / 459.9 MB, free: 18.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.4307, allocations: 373.9 kB / 460.2 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.432, allocations: 1.07 MB / 461.3 MB, free: 16.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4334, allocations: 1.464 MB / 462.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.4349, allocations: 1.243 MB / 464 MB, free: 13.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4349, allocations: 10.56 kB / 464 MB, free: 13.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01667/0.4516, allocations: 5.453 MB / 469.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.4517, allocations: 8 kB / 469.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.4517, allocations: 12 kB / 469.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01807/0.4698, allocations: 3.643 MB / 473.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009536/0.4708, allocations: 243.6 kB / 473.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03664/0.5074, allocations: 20.07 MB / 493.4 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.5099, allocations: 118.5 kB / 493.6 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.5101, allocations: 83.06 kB / 493.6 MB, free: 128 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.0008086/0.5109, allocations: 437.3 kB / 494.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.5113, allocations: 217.2 kB / 494.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000773/0.5121, allocations: 351.1 kB / 494.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.5121, allocations: 16 kB / 494.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.345e-05/0.5121, allocations: 12 kB / 494.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.5122, allocations: 7.969 kB / 494.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.5153, allocations: 2.158 MB / 496.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5153, allocations: 3.844 kB / 496.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.5157, allocations: 96.75 kB / 496.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01881/0.5346, allocations: 3.451 MB / 0.4886 GB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005236/0.5351, allocations: 31.98 kB / 0.4887 GB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03684/0.572, allocations: 19.81 MB / 0.508 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5721, allocations: 0 / 0.508 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/0.5927, allocations: 6.894 MB / 0.5147 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.5942, allocations: 0.5215 MB / 0.5152 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/0.5945, allocations: 32 kB / 0.5153 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.596, allocations: 83.97 kB / 0.5154 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005542/0.5965, allocations: 142.2 kB / 0.5155 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.5967, allocations: 40 kB / 0.5155 GB, free: 13.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001552/0.5982, allocations: 1.174 MB / 0.5167 GB, free: 12.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.5982, allocations: 0 / 0.5167 GB, free: 12.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002467/0.6007, allocations: 0.9257 MB / 0.5176 GB, free: 11.4 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.02124/0.6219, allocations: 7.534 MB / 0.5249 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00979/0.6318, allocations: 3.895 MB / 0.5287 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.6318, allocations: 0 / 0.5287 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007363/0.6392, allocations: 2.561 MB / 0.5312 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.6415, allocations: 392.2 kB / 0.5316 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.6537, allocations: 13.46 MB / 0.5448 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.655, allocations: 1.651 MB / 0.5464 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.6561, allocations: 257.5 kB / 0.5466 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008756/0.657, allocations: 0.757 MB / 0.5474 GB, free: 12.33 MB / 414.1 MB Notification: Performance of SimCode: time 1.312e-06/0.657, allocations: 0 / 0.5474 GB, free: 12.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3299/0.9869, allocations: 74.36 MB / 0.62 GB, free: 135.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.9871, allocations: 231.8 kB / 0.6202 GB, free: 135.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.881/5.868, allocations: 0 / 0.6202 GB, free: 135.4 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_SteadyStates_Examples_Allosteric_Hemoglobin_MWC_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_SteadyStates_Examples_Allosteric_Hemoglobin_MWC.fmu > Physiolibrary_Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC.pipe 2>&1) Environment - environmentSimulation: