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: translateModel(Physiolibrary.Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction") translateModel(Physiolibrary.Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008604/0.0008604, allocations: 100.1 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.0009318/0.0009318, 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.342/1.342, 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.07625/0.07625, allocations: 15.4 MB / 285.8 MB, free: 5.891 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.0005462/0.0005465, allocations: 20 kB / 347.7 MB, free: 18.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08856, allocations: 51.4 MB / 399.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.ExothermicReaction): time 0.002616/0.09122, allocations: 2.33 MB / 401.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.09505, allocations: 2.718 MB / 404.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.09525, allocations: 7.938 kB / 404.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.09536, allocations: 31.77 kB / 404.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008717/0.09624, allocations: 334.9 kB / 404.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.09708, allocations: 347.1 kB / 404.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.0974, allocations: 231.5 kB / 405 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.09755, allocations: 52.7 kB / 405.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.09765, allocations: 91.62 kB / 405.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.09784, allocations: 111.5 kB / 405.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.09787, allocations: 8 kB / 405.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.926e-05/0.09791, allocations: 8 kB / 405.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.09797, allocations: 39.83 kB / 405.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.09803, allocations: 73.58 kB / 405.4 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.0982, allocations: 163.8 kB / 405.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.09821, allocations: 0 / 405.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09822, allocations: 0 / 405.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.09823, allocations: 0 / 405.6 MB, free: 8.129 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.0007139/0.09895, allocations: 0.506 MB / 406.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.099, allocations: 12.03 kB / 406.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.09907, allocations: 35.58 kB / 406.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.09944, allocations: 286.4 kB / 406.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.09947, allocations: 19.8 kB / 406.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.09951, allocations: 20 kB / 406.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.09973, allocations: 129.6 kB / 406.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.09975, allocations: 4 kB / 406.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.09977, allocations: 4 kB / 406.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.09979, allocations: 4 kB / 406.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.09995, allocations: 95.88 kB / 406.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000945/0.1009, allocations: 0.5856 MB / 407.3 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1011, allocations: 122.5 kB / 407.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.1011, allocations: 288 / 407.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1011, allocations: 34.5 kB / 407.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 9.11e-07/0.1012, allocations: 0 / 407.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003007/0.1015, allocations: 165.2 kB / 407.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1015, allocations: 55.41 kB / 407.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1018, allocations: 279 kB / 407.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1018, allocations: 33.7 kB / 407.9 MB, free: 5.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.911e-05/0.1019, allocations: 152.1 kB / 408.1 MB, free: 5.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.1019, allocations: 35.55 kB / 408.1 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.102, allocations: 0 / 408.1 MB, free: 5.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1021, allocations: 334.8 kB / 408.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.1022, allocations: 43.97 kB / 408.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1023, allocations: 85.12 kB / 408.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.203e-05/0.1024, allocations: 59.86 kB / 408.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1024, allocations: 0 / 408.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002514/0.1026, allocations: 185.3 kB / 408.8 MB, free: 4.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1026, allocations: 15.89 kB / 408.8 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1027, allocations: 0 / 408.8 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1027, allocations: 4 kB / 408.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1028, allocations: 35.98 kB / 408.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1029, allocations: 4 kB / 408.9 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.103, allocations: 15.75 kB / 408.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.103, allocations: 15.94 kB / 408.9 MB, free: 4.559 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.000105/0.1031, allocations: 134.2 kB / 409 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.1032, allocations: 27.72 kB / 409.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.1033, allocations: 33.78 kB / 409.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1033, allocations: 0 / 409.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1033, allocations: 3.938 kB / 409.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1033, allocations: 0 / 409.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.1036, allocations: 273.5 kB / 409.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1036, allocations: 0 / 409.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.1037, allocations: 23.92 kB / 409.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1037, allocations: 0 / 409.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.1037, allocations: 8 kB / 409.4 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1038, allocations: 3.953 kB / 409.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1038, allocations: 4 kB / 409.4 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.1041, allocations: 279 kB / 409.7 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.1042, allocations: 108.8 kB / 409.8 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1042, allocations: 0 / 409.8 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1043, allocations: 4 kB / 409.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.1043, allocations: 11.94 kB / 409.8 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1044, allocations: 4 kB / 409.8 MB, free: 3.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1045, allocations: 198 kB / 410 MB, free: 3.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1045, allocations: 0 / 410 MB, free: 3.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1048, allocations: 51.94 kB / 410 MB, free: 3.328 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 9.301e-05/0.1049, allocations: 99.23 kB / 410.1 MB, free: 3.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.1051, allocations: 103.8 kB / 410.2 MB, free: 3.117 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1051, allocations: 0 / 410.2 MB, free: 3.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.1052, allocations: 44.23 kB / 410.3 MB, free: 3.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1056, allocations: 72.61 kB / 410.4 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.1062, allocations: 0.5142 MB / 410.9 MB, free: 2.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1065, allocations: 0.756 MB / 411.6 MB, free: 1.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.1066, allocations: 46.25 kB / 411.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.1067, allocations: 19.44 kB / 411.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1067, allocations: 0 / 411.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of Templates: time 0.005101/0.1118, allocations: 2.527 MB / 414.2 MB, free: 15.09 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction.makefile Environment - environmentSimulation: (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 & ./Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.ExothermicReaction.pipe 2>&1) Environment - environmentSimulation: