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: translateModel(Physiolibrary.Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction") translateModel(Physiolibrary.Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 99.16 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.001098/0.001098, 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.263/1.263, 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.07072/0.07072, 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.0005218/0.000522, allocations: 16 kB / 347.7 MB, free: 18.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08372, allocations: 51.4 MB / 399.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.SimpleReaction): time 0.002551/0.08632, allocations: 2.158 MB / 401.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.09005, allocations: 2.683 MB / 403.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.09023, allocations: 7.938 kB / 403.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.09035, allocations: 23.83 kB / 403.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000855/0.09121, allocations: 318.9 kB / 404.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007828/0.092, allocations: 335.2 kB / 404.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.09228, allocations: 199.5 kB / 404.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.0924, allocations: 36.38 kB / 404.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.09249, allocations: 75.7 kB / 404.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.09268, allocations: 99.53 kB / 405 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.09271, allocations: 4 kB / 405 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.09274, allocations: 8 kB / 405 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.0928, allocations: 31.89 kB / 405 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.09286, allocations: 65.58 kB / 405.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.09301, allocations: 135.9 kB / 405.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.09302, allocations: 3.938 kB / 405.2 MB, free: 8.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09302, allocations: 0 / 405.2 MB, free: 8.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.09304, allocations: 4 kB / 405.2 MB, free: 8.496 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.0007192/0.09376, allocations: 482.3 kB / 405.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.0938, allocations: 12.03 kB / 405.7 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.09385, allocations: 27.67 kB / 405.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.09424, allocations: 261.6 kB / 406 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.09428, allocations: 15.94 kB / 406 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.09432, allocations: 16 kB / 406 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.09451, allocations: 114.3 kB / 406.1 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.09453, allocations: 0 / 406.1 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.09455, allocations: 4 kB / 406.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.09456, allocations: 4 kB / 406.1 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.0947, allocations: 79.94 kB / 406.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.09558, allocations: 0.5118 MB / 406.7 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.09578, allocations: 126.4 kB / 406.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.0958, allocations: 0 / 406.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.09583, allocations: 30.56 kB / 406.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.09584, allocations: 4 kB / 406.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002836/0.09613, allocations: 157.6 kB / 407 MB, free: 6.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.09616, allocations: 59.41 kB / 407.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.09637, allocations: 250.6 kB / 407.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.0964, allocations: 29.7 kB / 407.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.09648, allocations: 136.3 kB / 407.5 MB, free: 6.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.09651, allocations: 43.39 kB / 407.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.09653, allocations: 4 kB / 407.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.09662, allocations: 338.8 kB / 407.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.09669, allocations: 43.92 kB / 407.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.09679, allocations: 89.05 kB / 408 MB, free: 5.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.09688, allocations: 51.98 kB / 408.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.09689, allocations: 4 kB / 408.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002342/0.09713, allocations: 185.2 kB / 408.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.09716, allocations: 4 kB / 408.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.09717, allocations: 4 kB / 408.3 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.09719, allocations: 0 / 408.3 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.09738, allocations: 35.92 kB / 408.3 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.09739, allocations: 4 kB / 408.3 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.09753, allocations: 23.94 kB / 408.3 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.09756, allocations: 11.95 kB / 408.3 MB, free: 5.16 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.0001071/0.09767, allocations: 133.8 kB / 408.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.09771, allocations: 23.72 kB / 408.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.09777, allocations: 21.72 kB / 408.5 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.09778, allocations: 3.938 kB / 408.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.09779, allocations: 0 / 408.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.0978, allocations: 7.984 kB / 408.5 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.09806, allocations: 253.5 kB / 408.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.09807, allocations: 4 kB / 408.8 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.09819, allocations: 20.36 kB / 408.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.0982, allocations: 0 / 408.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.09822, allocations: 0 / 408.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.09822, allocations: 0 / 408.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.09823, allocations: 7.938 kB / 408.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.09853, allocations: 279.1 kB / 409.1 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.09863, allocations: 108.8 kB / 409.2 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.09867, allocations: 8.047 kB / 409.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.09879, allocations: 3.938 kB / 409.2 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.09881, allocations: 8 kB / 409.2 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.09883, allocations: 8 kB / 409.2 MB, free: 4.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.09898, allocations: 178 kB / 409.4 MB, free: 4.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09899, allocations: 0 / 409.4 MB, free: 4.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.09927, allocations: 44 kB / 409.4 MB, free: 3.977 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.008e-05/0.09936, allocations: 99.12 kB / 409.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.09957, allocations: 103.9 kB / 409.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.09958, allocations: 4 kB / 409.6 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.471e-05/0.09965, allocations: 43.91 kB / 409.7 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1, allocations: 52.48 kB / 409.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.1007, allocations: 474.9 kB / 410.2 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.101, allocations: 0.7482 MB / 410.9 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1011, allocations: 42.25 kB / 411 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.1012, allocations: 23.44 kB / 411 MB, free: 2.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1012, allocations: 0 / 411 MB, free: 2.34 MB / 302.1 MB Notification: Performance of Templates: time 0.00488/0.1061, allocations: 2.07 MB / 413.1 MB, free: 276 kB / 302.1 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction.makefile Environment - environmentSimulation: (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 & ./Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction.pipe 2>&1) Environment - environmentSimulation: