Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction.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.ExothermicReaction,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.ExothermicReaction,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_ExothermicReaction",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.0009149/0.0009149, allocations: 99.62 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.001191/0.001191, 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.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.08243/0.08243, allocations: 15.4 MB / 285.8 MB, free: 5.906 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.0005663/0.0005663, allocations: 20 kB / 347.8 MB, free: 18.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.09892, allocations: 51.41 MB / 399.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.ExothermicReaction): time 0.002817/0.1018, allocations: 2.33 MB / 401.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.1058, allocations: 2.706 MB / 404.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.106, allocations: 11.94 kB / 404.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1061, allocations: 31.77 kB / 404.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009405/0.1071, allocations: 330.9 kB / 404.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.1079, allocations: 355.1 kB / 404.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.1082, allocations: 231.5 kB / 405.1 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1083, allocations: 48.7 kB / 405.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.1085, allocations: 87.64 kB / 405.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1086, allocations: 115.5 kB / 405.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1087, allocations: 8 kB / 405.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.131e-05/0.1087, allocations: 8 kB / 405.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.1088, allocations: 43.81 kB / 405.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.1088, allocations: 73.58 kB / 405.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.109, allocations: 167.8 kB / 405.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.109, allocations: 0 / 405.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.109, allocations: 0 / 405.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.109, allocations: 0 / 405.7 MB, free: 8.043 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007255/0.1098, allocations: 0.5059 MB / 406.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1098, allocations: 12.03 kB / 406.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.1099, allocations: 46.55 kB / 406.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.1099, allocations: 39.58 kB / 406.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1103, allocations: 278.4 kB / 406.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1103, allocations: 19.84 kB / 406.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1103, allocations: 16 kB / 406.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.1106, allocations: 133.6 kB / 406.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1106, allocations: 0 / 406.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1106, allocations: 4 kB / 406.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1106, allocations: 4 kB / 406.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1108, allocations: 95.89 kB / 406.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009742/0.1118, allocations: 0.5817 MB / 407.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.112, allocations: 126.4 kB / 407.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.112, allocations: 0 / 407.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.112, allocations: 38.56 kB / 407.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.112, allocations: 0 / 407.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003175/0.1124, allocations: 161.5 kB / 407.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1124, allocations: 55.41 kB / 407.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.1127, allocations: 282.9 kB / 408.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1127, allocations: 29.7 kB / 408.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/0.1128, allocations: 156.1 kB / 408.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.1128, allocations: 31.55 kB / 408.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.1129, allocations: 4 kB / 408.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.113, allocations: 334.8 kB / 408.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.113, allocations: 35.98 kB / 408.6 MB, free: 4.867 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.1131, allocations: 89.11 kB / 408.7 MB, free: 4.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1133, allocations: 55.92 kB / 408.8 MB, free: 4.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1133, allocations: 3.938 kB / 408.8 MB, free: 4.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002516/0.1135, allocations: 201.2 kB / 409 MB, free: 4.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1136, allocations: 4 kB / 409 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1136, allocations: 4 kB / 409 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1136, allocations: 0 / 409 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.1138, allocations: 35.92 kB / 409 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1138, allocations: 4 kB / 409 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.1139, allocations: 23.75 kB / 409 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1139, allocations: 4 kB / 409 MB, free: 4.426 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.114, allocations: 145.8 kB / 409.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.1141, allocations: 23.67 kB / 409.2 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.1141, allocations: 29.84 kB / 409.2 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1142, allocations: 3.984 kB / 409.2 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1142, allocations: 4 kB / 409.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1142, allocations: 0 / 409.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.1145, allocations: 269.8 kB / 409.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1145, allocations: 0 / 409.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.1146, allocations: 19.98 kB / 409.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1146, allocations: 4 kB / 409.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1146, allocations: 7.891 kB / 409.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1146, allocations: 4 kB / 409.5 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1146, allocations: 0 / 409.5 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.115, allocations: 279 kB / 409.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1151, allocations: 112.8 kB / 409.9 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.1151, allocations: 4 kB / 409.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1153, allocations: 7.953 kB / 409.9 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.1153, allocations: 0 / 409.9 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.1153, allocations: 12.05 kB / 410 MB, free: 3.426 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1155, allocations: 198 kB / 410.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1155, allocations: 0 / 410.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1158, allocations: 47.94 kB / 410.2 MB, free: 3.191 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (A.state,B.state) * 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005749/0.1164, allocations: 0.8058 MB / 411 MB, free: 2.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1166, allocations: 115.9 kB / 411.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1166, allocations: 0 / 411.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.812e-05/0.1166, allocations: 39.92 kB / 411.2 MB, free: 2.203 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.1171, allocations: 77.31 kB / 411.2 MB, free: 2.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1184, allocations: 1.532 MB / 412.8 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1188, allocations: 0.756 MB / 413.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.1189, allocations: 42.25 kB / 413.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.119, allocations: 79.34 kB / 413.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1191, allocations: 4 kB / 413.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.1348, allocations: 4.79 MB / 418.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.1351, allocations: 185.2 kB / 418.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.804, allocations: 4 kB / 418.6 MB, free: 10.58 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Chemical_Examples_ExothermicReaction.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction.pipe 2>&1) Environment - environmentSimulation: