Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.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.SimpleReaction2,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.SimpleReaction2,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction2",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.001247/0.001247, allocations: 99.7 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.001397/0.001397, 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.656 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.08742/0.08742, allocations: 15.39 MB / 285.8 MB, free: 5.902 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.0006231/0.0006231, allocations: 20 kB / 347.8 MB, free: 18.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1031, allocations: 51.41 MB / 399.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.SimpleReaction2): time 0.002953/0.1061, allocations: 2.349 MB / 401.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005162/0.1113, allocations: 3.443 MB / 405 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.1115, allocations: 7.938 kB / 405 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.1117, allocations: 27.77 kB / 405 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1127, allocations: 414.6 kB / 405.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.1136, allocations: 462.9 kB / 405.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.114, allocations: 259.4 kB / 406.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1141, allocations: 44.72 kB / 406.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.1142, allocations: 99.56 kB / 406.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1144, allocations: 127.4 kB / 406.4 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.1145, allocations: 12 kB / 406.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.255e-05/0.1145, allocations: 11.94 kB / 406.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.1146, allocations: 47.77 kB / 406.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.1146, allocations: 73.58 kB / 406.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1148, allocations: 187.6 kB / 406.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1148, allocations: 4 kB / 406.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1148, allocations: 0 / 406.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1148, allocations: 0 / 406.7 MB, free: 7.012 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007936/0.1156, allocations: 0.5489 MB / 407.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1157, allocations: 12.03 kB / 407.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.1157, allocations: 50.5 kB / 407.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.1158, allocations: 35.62 kB / 407.3 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.1162, allocations: 310.2 kB / 407.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1162, allocations: 12.28 kB / 407.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1163, allocations: 16 kB / 407.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.1165, allocations: 143.5 kB / 407.8 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1165, allocations: 0 / 407.8 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1166, allocations: 8 kB / 407.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1166, allocations: 7.953 kB / 407.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.1168, allocations: 103.9 kB / 407.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1178, allocations: 0.6171 MB / 408.5 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.118, allocations: 146.5 kB / 408.7 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1181, allocations: 0 / 408.7 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1181, allocations: 38.56 kB / 408.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.464e-06/0.1181, allocations: 0 / 408.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003935/0.1185, allocations: 221.5 kB / 408.9 MB, free: 4.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.1185, allocations: 51.41 kB / 409 MB, free: 4.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.1188, allocations: 304.5 kB / 409.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1189, allocations: 29.7 kB / 409.3 MB, free: 4.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.119, allocations: 160.2 kB / 409.5 MB, free: 4.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.119, allocations: 55.2 kB / 409.5 MB, free: 3.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.119, allocations: 4 kB / 409.5 MB, free: 3.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1191, allocations: 338.8 kB / 409.9 MB, free: 3.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/0.1192, allocations: 56.44 kB / 409.9 MB, free: 3.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1194, allocations: 127.9 kB / 410 MB, free: 3.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1195, allocations: 76.91 kB / 410.1 MB, free: 3.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1196, allocations: 3.938 kB / 410.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003574/0.1199, allocations: 246.9 kB / 410.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1199, allocations: 4 kB / 410.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.12, allocations: 4 kB / 410.4 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.12, allocations: 4 kB / 410.4 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.1202, allocations: 51.91 kB / 410.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1202, allocations: 3.953 kB / 410.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1204, allocations: 35.84 kB / 410.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1204, allocations: 12 kB / 410.5 MB, free: 2.977 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 28 * 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.0001202/0.1205, allocations: 149.8 kB / 410.6 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.1206, allocations: 27.62 kB / 410.6 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.1207, allocations: 30.83 kB / 410.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1207, allocations: 0 / 410.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1207, allocations: 0 / 410.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1207, allocations: 3.953 kB / 410.7 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.121, allocations: 301.5 kB / 411 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.121, allocations: 4 kB / 411 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1212, allocations: 23.98 kB / 411 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1212, allocations: 3.984 kB / 411 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1212, allocations: 0 / 411 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1212, allocations: 7.984 kB / 411 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1212, allocations: 0 / 411 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.1216, allocations: 350.1 kB / 411.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1217, allocations: 124.7 kB / 411.5 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.1218, allocations: 8 kB / 411.5 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1219, allocations: 4 kB / 411.5 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.122, allocations: 11.98 kB / 411.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.122, allocations: 4 kB / 411.5 MB, free: 1.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1222, allocations: 211 kB / 411.7 MB, free: 1.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1222, allocations: 0 / 411.7 MB, free: 1.648 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1225, allocations: 59.91 kB / 411.8 MB, free: 1.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (A.state,B.state,C.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 (14): * Single equations (assignments): 14 * 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.0005951/0.1231, allocations: 0.8799 MB / 412.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.1233, allocations: 147.8 kB / 412.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1234, allocations: 0 / 412.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.1234, allocations: 60.66 kB / 412.9 MB, free: 492 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1238, allocations: 77.36 kB / 412.9 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1252, allocations: 1.938 MB / 414.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1255, allocations: 0.7717 MB / 415.6 MB, free: 13.58 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.1257, allocations: 50.94 kB / 415.7 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1258, allocations: 83.41 kB / 415.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1258, allocations: 0 / 415.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.141, allocations: 5.388 MB / 421.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.1412, allocations: 181.6 kB / 421.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.812, allocations: 4 kB / 421.3 MB, free: 7.801 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=1e-09 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction2.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.pipe 2>&1) Environment - environmentSimulation: