Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.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.Hemoglobin.Develop.Hemoglobin_titration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration") translateModel(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008619/0.0008619, allocations: 99.86 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.0009442/0.0009442, 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.276/1.276, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.07902/0.07902, allocations: 15.4 MB / 285.8 MB, free: 5.785 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.0005067/0.0005068, allocations: 15.98 kB / 347.7 MB, free: 18.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.07968, allocations: 51.4 MB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration): time 0.008893/0.08861, allocations: 10.08 MB / 409.1 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01933/0.108, allocations: 15.97 MB / 425.1 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.1098, allocations: 71.38 kB / 425.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.1105, allocations: 313.6 kB / 425.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005566/0.1161, allocations: 2.344 MB / 427.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.166/0.2821, allocations: 2.301 MB / 430.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009497/0.2916, allocations: 7.407 MB / 437.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004295/0.2959, allocations: 3.284 MB / 440.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005929/0.3019, allocations: 2.662 MB / 443.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009224/0.3112, allocations: 3.842 MB / 447.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.3134, allocations: 293.4 kB / 447.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.3173, allocations: 312.5 kB / 447.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003108/0.3204, allocations: 1.653 MB / 449.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003976/0.3244, allocations: 1.8 MB / 451.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.3355, allocations: 12.72 MB / 464.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3355, allocations: 0 / 464.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3355, allocations: 0 / 464.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005141/0.336, allocations: 0 / 464.1 MB, free: 2.906 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.02614/0.3622, allocations: 10.16 MB / 474.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3622, allocations: 16.02 kB / 474.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.3657, allocations: 0.9106 MB / 475.2 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/0.3821, allocations: 7.32 MB / 482.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.3826, allocations: 405.6 kB / 482.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/0.385, allocations: 0.5155 MB / 483.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02043/0.4054, allocations: 8.465 MB / 491.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/0.4056, allocations: 7.938 kB / 491.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001766/0.4074, allocations: 196 kB / 492.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.4075, allocations: 116 kB / 492.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/0.4247, allocations: 8.573 MB / 0.489 GB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06821/0.493, allocations: 30.67 MB / 0.519 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009892/0.5029, allocations: 6.019 MB / 0.5249 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/0.5033, allocations: 54.69 kB / 0.5249 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/0.5034, allocations: 97.86 kB / 0.525 GB, free: 11.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=377): time 6.432e-06/0.5035, allocations: 0 / 0.525 GB, free: 11.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=567): time 0.9712/1.475, allocations: 245.6 MB / 0.7649 GB, free: 6.371 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/1.475, allocations: 0.7521 MB / 0.7656 GB, free: 5.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1847/1.66, allocations: 9.3 MB / 0.7747 GB, free: 141.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001419/1.661, allocations: 138.5 kB / 0.7748 GB, free: 141.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003595/1.665, allocations: 3.609 MB / 0.7783 GB, free: 139.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0026/1.667, allocations: 1.949 MB / 0.7803 GB, free: 138.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008058/1.668, allocations: 152.4 kB / 0.7804 GB, free: 138.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004225/1.669, allocations: 0.6107 MB / 0.781 GB, free: 138.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01095/1.679, allocations: 7.385 MB / 0.7882 GB, free: 135.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/1.691, allocations: 9.691 MB / 0.7977 GB, free: 129.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.702, allocations: 8.619 MB / 0.8061 GB, free: 126.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001176/1.702, allocations: 21.66 kB / 0.8061 GB, free: 126.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=966) (initialization): time 0.1189/1.821, allocations: 49.01 MB / 0.854 GB, free: 87.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/1.821, allocations: 36 kB / 0.854 GB, free: 87.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/1.821, allocations: 80.12 kB / 0.8541 GB, free: 87.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1064/1.928, allocations: 43.06 MB / 0.8961 GB, free: 44.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005176/1.933, allocations: 1.385 MB / 0.8975 GB, free: 43.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3469/2.28, allocations: 100.7 MB / 0.9958 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/2.29, allocations: 0.9642 MB / 0.9968 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/2.292, allocations: 319.5 kB / 0.9971 GB, free: 108.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * 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 (688): * Single equations (assignments): 686 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(26,11.2%) 114} * Non-linear torn systems: 1 {34 106} Notification: Performance of prepare postOptimizeDAE: time 0.007178/2.299, allocations: 3.617 MB / 1.001 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003552/2.303, allocations: 0.8023 MB / 1.001 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/2.307, allocations: 1.422 MB / 1.003 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/2.307, allocations: 61.53 kB / 1.003 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.427e-05/2.307, allocations: 28 kB / 1.003 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-05/2.307, allocations: 31.89 kB / 1.003 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1549/2.462, allocations: 64.55 MB / 1.066 GB, free: 40.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002151/2.462, allocations: 52.84 kB / 1.066 GB, free: 40.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/2.464, allocations: 0.6043 MB / 1.067 GB, free: 39.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.103/2.567, allocations: 36.44 MB / 1.102 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001779/2.569, allocations: 180 kB / 1.102 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3396/2.909, allocations: 94.91 MB / 1.195 GB, free: 106.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.823e-05/2.909, allocations: 79.41 kB / 1.195 GB, free: 106.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.126/3.035, allocations: 67.7 MB / 1.261 GB, free: 36.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007805/3.043, allocations: 2.562 MB / 1.264 GB, free: 33.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003599/3.046, allocations: 191.9 kB / 1.264 GB, free: 33.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00971/3.056, allocations: 0.7726 MB / 1.265 GB, free: 32.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003453/3.06, allocations: 0.7462 MB / 1.265 GB, free: 31.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001241/3.061, allocations: 204 kB / 1.266 GB, free: 31.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01094/3.072, allocations: 6.453 MB / 1.272 GB, free: 25.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/3.072, allocations: 0 / 1.272 GB, free: 25.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01903/3.091, allocations: 3.469 MB / 1.275 GB, free: 21.79 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 229 * Number of states: 25 (state[1],deoxyhemoglobin.state[1],deoxyhemoglobin.totalHb.state[1],deoxyhemoglobin.T.Speciation.state[11],deoxyhemoglobin.T.Speciation.state[10],deoxyhemoglobin.T.Speciation.state[9],deoxyhemoglobin.T.Speciation.state[8],deoxyhemoglobin.T.Speciation.state[7],deoxyhemoglobin.T.Speciation.state[6],deoxyhemoglobin.T.Speciation.state[5],deoxyhemoglobin.T.Speciation.state[4],deoxyhemoglobin.T.Speciation.state[3],deoxyhemoglobin.T.Speciation.state[2],deoxyhemoglobin.T.Speciation.state[1],deoxyhemoglobin.R.Speciation.state[11],deoxyhemoglobin.R.Speciation.state[10],deoxyhemoglobin.R.Speciation.state[9],deoxyhemoglobin.R.Speciation.state[8],deoxyhemoglobin.R.Speciation.state[7],deoxyhemoglobin.R.Speciation.state[6],deoxyhemoglobin.R.Speciation.state[5],deoxyhemoglobin.R.Speciation.state[4],deoxyhemoglobin.R.Speciation.state[3],deoxyhemoglobin.R.Speciation.state[2],deoxyhemoglobin.R.Speciation.state[1]) * 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 (328): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(26,11.2%) 114} * Non-linear torn systems: 1 {34 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.001773/3.093, allocations: 347.8 kB / 1.276 GB, free: 21.44 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0403/3.133, allocations: 20.68 MB / 1.296 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.94e-05/3.133, allocations: 8 kB / 1.296 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2113/3.344, allocations: 12.17 MB / 1.308 GB, free: 141.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/3.357, allocations: 2.141 MB / 1.31 GB, free: 141.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0384/3.396, allocations: 24.43 MB / 1.334 GB, free: 132.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008891/3.405, allocations: 6.256 MB / 1.34 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007132/3.412, allocations: 2.141 MB / 1.342 GB, free: 130.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/3.414, allocations: 460.8 kB / 1.342 GB, free: 130.2 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/3.414, allocations: 4 kB / 1.342 GB, free: 130.2 MB / 478.1 MB Notification: Performance of Templates: time 0.5146/3.928, allocations: 260.9 MB / 1.597 GB, free: 28.08 MB / 478.1 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_titration.pipe 2>&1) Environment - environmentSimulation: