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: translateModel(Physiolibrary.Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2") translateModel(Physiolibrary.Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 99.31 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.0008613/0.0008613, 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.344/1.344, 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.07478/0.07478, allocations: 15.39 MB / 285.8 MB, free: 5.91 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.0005102/0.0005103, allocations: 16 kB / 347.6 MB, free: 18.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08378/0.0843, allocations: 51.42 MB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.SimpleReaction2): time 0.002681/0.08703, allocations: 2.334 MB / 401.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.09162, allocations: 3.439 MB / 404.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.09185, allocations: 11.88 kB / 404.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.09198, allocations: 31.77 kB / 404.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.0932, allocations: 418.6 kB / 405.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.09428, allocations: 462.9 kB / 405.7 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.09463, allocations: 255.4 kB / 406 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.09477, allocations: 44.73 kB / 406 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.09488, allocations: 99.56 kB / 406.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.09507, allocations: 127.4 kB / 406.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.09511, allocations: 8 kB / 406.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.302e-05/0.09515, allocations: 12 kB / 406.3 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.09521, allocations: 51.75 kB / 406.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.09528, allocations: 73.58 kB / 406.4 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.09546, allocations: 187.8 kB / 406.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.09547, allocations: 0 / 406.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09548, allocations: 0 / 406.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.09549, allocations: 0 / 406.6 MB, free: 7.121 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.0007908/0.09629, allocations: 0.5489 MB / 407.1 MB, free: 6.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.09633, allocations: 12.03 kB / 407.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.09639, allocations: 35.58 kB / 407.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.09677, allocations: 314.3 kB / 407.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.0968, allocations: 12.27 kB / 407.5 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.09684, allocations: 16 kB / 407.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.09707, allocations: 147.5 kB / 407.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.09709, allocations: 4 kB / 407.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.09711, allocations: 4 kB / 407.7 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.09713, allocations: 7.953 kB / 407.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.09729, allocations: 99.94 kB / 407.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.0983, allocations: 0.6248 MB / 408.4 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.0985, allocations: 138.5 kB / 408.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.09852, allocations: 4 kB / 408.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.09855, allocations: 34.56 kB / 408.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.09855, allocations: 0 / 408.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003339/0.09889, allocations: 213.6 kB / 408.8 MB, free: 4.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.09894, allocations: 63.36 kB / 408.8 MB, free: 4.688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.09921, allocations: 300.5 kB / 409.1 MB, free: 4.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.09923, allocations: 29.7 kB / 409.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.09933, allocations: 164.2 kB / 409.3 MB, free: 4.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.09938, allocations: 59.12 kB / 409.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.09939, allocations: 4 kB / 409.4 MB, free: 4.117 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.0995, allocations: 338.8 kB / 409.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.09959, allocations: 56.44 kB / 409.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.09971, allocations: 123.9 kB / 409.9 MB, free: 3.574 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.09984, allocations: 84.84 kB / 410 MB, free: 3.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.09985, allocations: 0 / 410 MB, free: 3.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003035/0.1002, allocations: 243 kB / 410.2 MB, free: 3.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1002, allocations: 4 kB / 410.2 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1002, allocations: 7.938 kB / 410.2 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1002, allocations: 3.984 kB / 410.2 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.1004, allocations: 47.92 kB / 410.3 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.1004, allocations: 12.11 kB / 410.3 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1006, allocations: 35.67 kB / 410.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1006, allocations: 15.98 kB / 410.3 MB, free: 3.125 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.0001086/0.1007, allocations: 133.8 kB / 410.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.1008, allocations: 31.56 kB / 410.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.1008, allocations: 34.83 kB / 410.5 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1009, allocations: 4 kB / 410.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1009, allocations: 0 / 410.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1009, allocations: 7.938 kB / 410.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.1012, allocations: 297.5 kB / 410.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1012, allocations: 0 / 410.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.1013, allocations: 27.98 kB / 410.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1014, allocations: 0 / 410.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1014, allocations: 0 / 410.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1014, allocations: 0 / 410.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1014, allocations: 0 / 410.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.1017, allocations: 347 kB / 411.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1018, allocations: 120.7 kB / 411.3 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.1019, allocations: 8 kB / 411.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.102, allocations: 7.984 kB / 411.3 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.1021, allocations: 12 kB / 411.3 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.1021, allocations: 4.078 kB / 411.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.1022, allocations: 211.1 kB / 411.6 MB, free: 1.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1023, allocations: 0 / 411.6 MB, free: 1.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1025, allocations: 59.91 kB / 411.6 MB, free: 1.754 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 9.098e-05/0.1026, allocations: 103.2 kB / 411.7 MB, free: 1.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1029, allocations: 147.8 kB / 411.9 MB, free: 1.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1029, allocations: 0 / 411.9 MB, free: 1.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.103, allocations: 63.91 kB / 411.9 MB, free: 1.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1034, allocations: 80.5 kB / 412 MB, free: 1.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.1041, allocations: 0.5935 MB / 412.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.1044, allocations: 0.7717 MB / 413.4 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.1045, allocations: 54.94 kB / 413.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.1046, allocations: 23.44 kB / 413.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1046, allocations: 0 / 413.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of Templates: time 0.005374/0.11, allocations: 2.801 MB / 416.2 MB, free: 13.06 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.makefile Environment - environmentSimulation: (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 & ./Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.SimpleReaction2.pipe 2>&1) Environment - environmentSimulation: