Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.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.SimpleReaction2_in_Equilibrium,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction2_in_Equilibrium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction2_in_Equilibrium",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.001107/0.001107, allocations: 99.94 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.0009691/0.0009691, 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.354/1.354, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.07988/0.07988, allocations: 15.4 MB / 285.8 MB, free: 5.898 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.0005609/0.0005611, allocations: 16 kB / 347.8 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08953, allocations: 51.4 MB / 399.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium): time 0.002917/0.09248, allocations: 2.619 MB / 401.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004518/0.09702, allocations: 3.501 MB / 405.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.09721, allocations: 11.88 kB / 405.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.09734, allocations: 35.69 kB / 405.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.09835, allocations: 458.4 kB / 405.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.09943, allocations: 474.9 kB / 406.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.09983, allocations: 327.2 kB / 406.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.09998, allocations: 56.91 kB / 406.6 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1001, allocations: 111.6 kB / 406.7 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.1004, allocations: 159.2 kB / 406.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.1004, allocations: 12 kB / 406.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.891e-05/0.1004, allocations: 12 kB / 406.9 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1005, allocations: 63.75 kB / 407 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.1006, allocations: 85.52 kB / 407 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1008, allocations: 223.5 kB / 407.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.1008, allocations: 0 / 407.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1008, allocations: 0 / 407.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1008, allocations: 0 / 407.3 MB, free: 6.445 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009032/0.1017, allocations: 0.5996 MB / 407.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1018, allocations: 8.031 kB / 407.9 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.205e-05/0.1019, allocations: 50.55 kB / 407.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.1019, allocations: 51.42 kB / 408 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.1024, allocations: 334.8 kB / 408.3 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1024, allocations: 12.38 kB / 408.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.1025, allocations: 24 kB / 408.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1028, allocations: 218.7 kB / 408.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1028, allocations: 0 / 408.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1028, allocations: 8 kB / 408.6 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1028, allocations: 7.953 kB / 408.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.1031, allocations: 139.8 kB / 408.7 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.1046, allocations: 0.9048 MB / 409.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1048, allocations: 131.9 kB / 409.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1048, allocations: 0 / 409.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1049, allocations: 38.62 kB / 409.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.1049, allocations: 4 kB / 409.8 MB, free: 3.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.003339/0.1082, allocations: 0.9222 MB / 410.7 MB, free: 2.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.1083, allocations: 110.8 kB / 410.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.1087, allocations: 381.6 kB / 411.2 MB, free: 2.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.1088, allocations: 41.58 kB / 411.2 MB, free: 2.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1089, allocations: 212.1 kB / 411.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.109, allocations: 67.09 kB / 411.5 MB, free: 1.938 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.109, allocations: 4 kB / 411.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1091, allocations: 346.8 kB / 411.8 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1093, allocations: 107.7 kB / 411.9 MB, free: 1.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.1095, allocations: 264.2 kB / 412.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.1098, allocations: 147.8 kB / 412.3 MB, free: 1.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1098, allocations: 7.938 kB / 412.3 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002057/0.1118, allocations: 0.6547 MB / 413 MB, free: 336 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1119, allocations: 8 kB / 413 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1119, allocations: 4 kB / 413 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.114, allocations: 353.3 kB / 413.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1142, allocations: 55.92 kB / 413.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005306/0.1195, allocations: 4.022 MB / 417.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.1199, allocations: 27.97 kB / 417.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.1199, allocations: 16 kB / 417.5 MB, free: 11.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (32): * Single equations (assignments): 30 * 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 {(3,77.8%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.1201, allocations: 165.6 kB / 417.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1202, allocations: 39.48 kB / 417.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.139e-05/0.1203, allocations: 47.3 kB / 417.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1203, allocations: 3.984 kB / 417.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1204, allocations: 4 kB / 417.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1204, allocations: 4 kB / 417.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/0.121, allocations: 397.4 kB / 418.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.121, allocations: 384 / 418.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.1211, allocations: 11.98 kB / 418.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/0.1231, allocations: 353.2 kB / 418.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1231, allocations: 0 / 418.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.1281, allocations: 3.948 MB / 422.4 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1282, allocations: 0 / 422.4 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.1303, allocations: 0.8199 MB / 423.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.1306, allocations: 136.9 kB / 423.4 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.1306, allocations: 0 / 423.4 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.1309, allocations: 8 kB / 423.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.1309, allocations: 31.84 kB / 423.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.131, allocations: 11.98 kB / 423.4 MB, free: 5.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.1312, allocations: 259.2 kB / 423.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1312, allocations: 0 / 423.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005756/0.1318, allocations: 112 kB / 423.8 MB, free: 4.867 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (totalB_ConservationLaw.state[1],totalC_ConservationLaw.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 (7): * Single equations (assignments): 5 * 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 {(3,77.8%) 3} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002486/0.1343, allocations: 1.495 MB / 425.3 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.1355, allocations: 0.5645 MB / 425.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1355, allocations: 0 / 425.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007484/0.1363, allocations: 401.1 kB / 426.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.1368, allocations: 89.83 kB / 426.3 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.155/0.2918, allocations: 4.621 MB / 431 MB, free: 32.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.2922, allocations: 0.8118 MB / 431.8 MB, free: 31.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.2924, allocations: 56.89 kB / 431.8 MB, free: 31.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.2926, allocations: 104.1 kB / 431.9 MB, free: 31.75 MB / 318.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2926, allocations: 1.094 kB / 431.9 MB, free: 31.75 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.3177, allocations: 10.46 MB / 442.4 MB, free: 29.24 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/0.3178, allocations: 227.5 kB / 442.6 MB, free: 29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.34, allocations: 1.156 kB / 442.6 MB, free: 29 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.pipe ; mkfifo Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.pipe >> ../files/Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction2_in_Equilibrium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction2_in_Equilibrium.fmu > Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction2_in_Equilibrium.pipe 2>&1) Environment - environmentSimulation: