Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction.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.SimpleReaction,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.SimpleReaction,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction",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.0009781/0.000978, allocations: 100 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.001032/0.001032, 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.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.08896/0.08896, 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.0005455/0.0005456, allocations: 16 kB / 347.8 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09669, allocations: 51.42 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.SimpleReaction): time 0.002954/0.09969, allocations: 2.154 MB / 401.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003933/0.1037, allocations: 2.671 MB / 404 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1038, allocations: 3.938 kB / 404 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.104, allocations: 23.84 kB / 404 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008963/0.1049, allocations: 322.9 kB / 404.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.1057, allocations: 327.2 kB / 404.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.106, allocations: 207.5 kB / 404.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1061, allocations: 36.38 kB / 404.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.1062, allocations: 79.69 kB / 405 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1064, allocations: 99.53 kB / 405.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1064, allocations: 8 kB / 405.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.029e-05/0.1065, allocations: 8 kB / 405.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.1065, allocations: 31.84 kB / 405.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.1066, allocations: 61.58 kB / 405.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1068, allocations: 139.9 kB / 405.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1068, allocations: 3.938 kB / 405.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1068, allocations: 0 / 405.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1068, allocations: 0 / 405.3 MB, free: 8.391 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000732/0.1075, allocations: 490.4 kB / 405.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1076, allocations: 8.031 kB / 405.8 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.1076, allocations: 42.55 kB / 405.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.1077, allocations: 35.67 kB / 405.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.1081, allocations: 265.6 kB / 406.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1081, allocations: 8 kB / 406.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1081, allocations: 19.94 kB / 406.2 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1083, allocations: 106.3 kB / 406.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1083, allocations: 0 / 406.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1084, allocations: 8 kB / 406.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1084, allocations: 0 / 406.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1085, allocations: 79.91 kB / 406.4 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008736/0.1094, allocations: 0.5079 MB / 406.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1096, allocations: 126.5 kB / 407 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.1096, allocations: 0 / 407 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1096, allocations: 34.56 kB / 407 MB, free: 6.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1097, allocations: 0 / 407 MB, free: 6.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002841/0.1099, allocations: 153.7 kB / 407.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.11, allocations: 55.41 kB / 407.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1102, allocations: 250.6 kB / 407.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1102, allocations: 29.7 kB / 407.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.1103, allocations: 144.3 kB / 407.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1104, allocations: 47.31 kB / 407.7 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.1104, allocations: 4 kB / 407.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1105, allocations: 338.7 kB / 408 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.1106, allocations: 39.97 kB / 408.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1107, allocations: 85.12 kB / 408.1 MB, free: 5.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.1108, allocations: 55.97 kB / 408.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1108, allocations: 0 / 408.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002624/0.1111, allocations: 181.2 kB / 408.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1111, allocations: 8 kB / 408.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1111, allocations: 160 / 408.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1111, allocations: 8.375 kB / 408.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1113, allocations: 39.91 kB / 408.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1113, allocations: 0 / 408.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1115, allocations: 27.73 kB / 408.5 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1115, allocations: 7.938 kB / 408.5 MB, free: 5.004 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.000107/0.1116, allocations: 137.8 kB / 408.6 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.1116, allocations: 19.72 kB / 408.6 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.1117, allocations: 29.7 kB / 408.6 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1117, allocations: 4 kB / 408.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1117, allocations: 0 / 408.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1117, allocations: 0 / 408.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.112, allocations: 257.5 kB / 408.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.112, allocations: 0 / 408.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.1121, allocations: 15.98 kB / 408.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1121, allocations: 4 kB / 408.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1122, allocations: 0 / 408.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.1122, allocations: 4 kB / 408.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1122, allocations: 0 / 408.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.1125, allocations: 287.1 kB / 409.2 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-05/0.1126, allocations: 108.8 kB / 409.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1126, allocations: 4 kB / 409.3 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1127, allocations: 0 / 409.3 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.1128, allocations: 19.91 kB / 409.3 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1128, allocations: 0 / 409.3 MB, free: 4.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.1129, allocations: 182 kB / 409.5 MB, free: 3.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.1129, allocations: 0 / 409.5 MB, free: 3.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1132, allocations: 48 kB / 409.6 MB, free: 3.812 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.0005236/0.1138, allocations: 0.8021 MB / 410.4 MB, free: 2.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.114, allocations: 111.8 kB / 410.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.114, allocations: 384 / 410.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/0.114, allocations: 43.97 kB / 410.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1144, allocations: 48.53 kB / 410.6 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.1157, allocations: 1.484 MB / 412 MB, free: 1.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.116, allocations: 0.7482 MB / 412.8 MB, free: 464 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1162, allocations: 38.27 kB / 412.8 MB, free: 424 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.1163, allocations: 59.42 kB / 412.9 MB, free: 364 kB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1163, allocations: 0 / 412.9 MB, free: 364 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.1317, allocations: 4.147 MB / 417 MB, free: 12.2 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.132, allocations: 168.6 kB / 417.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.795, allocations: 0 / 417.2 MB, free: 11.97 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction_fmu --startTime=0 --stopTime=1e-07 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction.pipe 2>&1) Environment - environmentSimulation: