Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState.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.SteadyStates.Examples.SimpleReaction_InitSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState") translateModel(Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009349, allocations: 99.55 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.001061/0.001061, allocations: 177.3 kB / 15.94 MB, free: 228 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.302/1.302, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.07377/0.07377, allocations: 15.39 MB / 285.8 MB, free: 5.766 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.0005601/0.0005602, allocations: 16 kB / 347.7 MB, free: 18.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.08102, allocations: 51.41 MB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState): time 0.002439/0.0835, allocations: 2.323 MB / 401.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.08688, allocations: 2.706 MB / 404.1 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.08706, allocations: 7.875 kB / 404.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.08718, allocations: 27.83 kB / 404.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007397/0.08793, allocations: 334.8 kB / 404.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.08864, allocations: 347.2 kB / 404.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.08894, allocations: 235.4 kB / 405 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.08906, allocations: 40.73 kB / 405.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.08915, allocations: 83.69 kB / 405.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.08934, allocations: 111.5 kB / 405.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.08937, allocations: 8 kB / 405.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.883e-05/0.08941, allocations: 8 kB / 405.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.08947, allocations: 51.81 kB / 405.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.08952, allocations: 65.58 kB / 405.4 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.08968, allocations: 151.9 kB / 405.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.08969, allocations: 0 / 405.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0897, allocations: 0 / 405.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.0897, allocations: 0 / 405.5 MB, free: 8.156 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.000668/0.09038, allocations: 0.5021 MB / 406 MB, free: 7.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.09041, allocations: 19.95 kB / 406.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.09048, allocations: 39.58 kB / 406.1 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.09081, allocations: 282.4 kB / 406.4 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.09083, allocations: 8 kB / 406.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.09086, allocations: 19.94 kB / 406.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.09108, allocations: 129.6 kB / 406.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.0911, allocations: 3.984 kB / 406.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.09112, allocations: 8 kB / 406.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.09113, allocations: 0 / 406.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.09128, allocations: 95.89 kB / 406.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/0.09217, allocations: 0.5469 MB / 407.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.09237, allocations: 138.4 kB / 407.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.09239, allocations: 0 / 407.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.09242, allocations: 30.56 kB / 407.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.09243, allocations: 4.219 kB / 407.3 MB, free: 6.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002866/0.09272, allocations: 173.3 kB / 407.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.09276, allocations: 55.36 kB / 407.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.09301, allocations: 274.9 kB / 407.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.09303, allocations: 33.7 kB / 407.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.09313, allocations: 152.1 kB / 408 MB, free: 5.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.09317, allocations: 39.45 kB / 408.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.09318, allocations: 4 kB / 408.1 MB, free: 5.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.09328, allocations: 326.8 kB / 408.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.09336, allocations: 48.34 kB / 408.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.09346, allocations: 89.86 kB / 408.5 MB, free: 4.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.09356, allocations: 59.98 kB / 408.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09357, allocations: 3.938 kB / 408.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005757/0.09415, allocations: 246.1 kB / 408.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.09418, allocations: 11.95 kB / 408.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.09419, allocations: 3.938 kB / 408.8 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.09467, allocations: 68.78 kB / 408.9 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.09481, allocations: 35.92 kB / 408.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.09667, allocations: 1.659 MB / 410.6 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.09681, allocations: 15.78 kB / 410.6 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.09683, allocations: 16 kB / 410.6 MB, free: 2.684 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.09695, allocations: 129.8 kB / 410.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.097, allocations: 35.61 kB / 410.8 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.09705, allocations: 29.78 kB / 410.8 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.09705, allocations: 3.938 kB / 410.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.09706, allocations: 0 / 410.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.09707, allocations: 0 / 410.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.09734, allocations: 269.4 kB / 411.1 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.09735, allocations: 0 / 411.1 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.09748, allocations: 23.98 kB / 411.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.09749, allocations: 0 / 411.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.09751, allocations: 7.953 kB / 411.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.09752, allocations: 4 kB / 411.1 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.09752, allocations: 4 kB / 411.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.09781, allocations: 291 kB / 411.4 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.09792, allocations: 116.8 kB / 411.5 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.09795, allocations: 4 kB / 411.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.09807, allocations: 7.953 kB / 411.5 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.0981, allocations: 7.984 kB / 411.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.09811, allocations: 0 / 411.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.09827, allocations: 194 kB / 411.7 MB, free: 1.488 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09828, allocations: 0 / 411.7 MB, free: 1.488 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.09865, allocations: 56 kB / 411.8 MB, free: 1.434 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 (11): * Single equations (assignments): 11 * 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 7.09e-05/0.09873, allocations: 95.25 kB / 411.9 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.09925, allocations: 258.5 kB / 412.1 MB, free: 1.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09926, allocations: 0 / 412.1 MB, free: 1.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.09934, allocations: 51.86 kB / 412.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.09965, allocations: 60.8 kB / 412.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.1003, allocations: 0.5231 MB / 412.8 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1006, allocations: 0.7638 MB / 413.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.1007, allocations: 34.28 kB / 413.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.1007, allocations: 27.42 kB / 413.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1007, allocations: 3.938 kB / 413.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of Templates: time 0.005472/0.1062, allocations: 3.008 MB / 416.6 MB, free: 12.55 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState.pipe ; mkfifo Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState.pipe >> ../files/Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState.sim & ./Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState.pipe 2>&1) Environment - environmentSimulation: