Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_NormalInit.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: "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.SimpleReaction_NormalInit,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_NormalInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.SimpleReaction_NormalInit,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_NormalInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008859, 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.0009158/0.0009159, 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.327/1.327, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.07716/0.07716, 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.000534/0.000534, allocations: 12 kB / 347.8 MB, free: 18.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.08872, allocations: 51.41 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.SimpleReaction_NormalInit): time 0.002445/0.0912, allocations: 2.319 MB / 401.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.09468, allocations: 2.702 MB / 404.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.09483, allocations: 11.88 kB / 404.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.09494, allocations: 31.77 kB / 404.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000772/0.09572, allocations: 330.8 kB / 404.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.09644, allocations: 355.1 kB / 404.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.09672, allocations: 227.4 kB / 405.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.09685, allocations: 44.72 kB / 405.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.09694, allocations: 79.7 kB / 405.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.09713, allocations: 111.5 kB / 405.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.09716, allocations: 8 kB / 405.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.0972, allocations: 12 kB / 405.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.09726, allocations: 39.83 kB / 405.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.09732, allocations: 69.58 kB / 405.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.09748, allocations: 155.9 kB / 405.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.09749, allocations: 0 / 405.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0975, allocations: 0 / 405.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.09751, allocations: 0 / 405.6 MB, free: 8.074 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.000692/0.0982, allocations: 0.5021 MB / 406.1 MB, free: 7.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.09824, allocations: 8.031 kB / 406.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.0983, allocations: 50.48 kB / 406.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.09835, allocations: 35.58 kB / 406.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.0987, allocations: 282.4 kB / 406.5 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.09872, allocations: 8 kB / 406.5 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.09876, allocations: 19.94 kB / 406.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.09897, allocations: 133.6 kB / 406.7 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.09899, allocations: 0 / 406.7 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.09901, allocations: 11.94 kB / 406.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.09902, allocations: 7.953 kB / 406.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.09918, allocations: 87.94 kB / 406.8 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.1001, allocations: 0.5508 MB / 407.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1003, allocations: 134.5 kB / 407.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1003, allocations: 0 / 407.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1004, allocations: 30.78 kB / 407.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.1004, allocations: 3.938 kB / 407.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002901/0.1007, allocations: 173.4 kB / 407.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1007, allocations: 63.36 kB / 407.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.101, allocations: 271 kB / 408 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.101, allocations: 29.7 kB / 408 MB, free: 5.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.1011, allocations: 152.1 kB / 408.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.1011, allocations: 39.44 kB / 408.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.1011, allocations: 4 kB / 408.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1012, allocations: 334.8 kB / 408.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.1013, allocations: 48.34 kB / 408.6 MB, free: 4.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.569e-05/0.1014, allocations: 85.88 kB / 408.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.263e-05/0.1015, allocations: 63.92 kB / 408.7 MB, free: 4.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1015, allocations: 0 / 408.7 MB, free: 4.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002618/0.1018, allocations: 205 kB / 408.9 MB, free: 4.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1018, allocations: 8 kB / 408.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1018, allocations: 0 / 408.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1019, allocations: 4 kB / 408.9 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.102, allocations: 35.98 kB / 409 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1021, allocations: 3.953 kB / 409 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1022, allocations: 19.84 kB / 409 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1022, allocations: 7.938 kB / 409 MB, free: 4.461 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 (21): * Single equations (assignments): 21 * 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.0001026/0.1023, allocations: 141.9 kB / 409.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1024, allocations: 23.72 kB / 409.2 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.1024, allocations: 25.78 kB / 409.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1024, allocations: 4 kB / 409.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1024, allocations: 4 kB / 409.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1025, allocations: 3.953 kB / 409.2 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.1027, allocations: 273.4 kB / 409.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1027, allocations: 0 / 409.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1029, allocations: 31.86 kB / 409.5 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1029, allocations: 4 kB / 409.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1029, allocations: 0 / 409.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1029, allocations: 0 / 409.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1029, allocations: 0 / 409.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.1032, allocations: 295.5 kB / 409.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1033, allocations: 116.8 kB / 409.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1034, allocations: 0 / 409.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1035, allocations: 0 / 409.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.1035, allocations: 16.05 kB / 409.9 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1035, allocations: 4 kB / 409.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1037, allocations: 190 kB / 410.1 MB, free: 3.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.1037, allocations: 0 / 410.1 MB, free: 3.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.104, allocations: 51.88 kB / 410.2 MB, free: 3.215 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 0.0005017/0.1045, allocations: 0.8292 MB / 411 MB, free: 2.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1047, allocations: 115.8 kB / 411.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1047, allocations: 0 / 411.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.465e-05/0.1048, allocations: 43.98 kB / 411.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1051, allocations: 64.34 kB / 411.2 MB, free: 2.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1063, allocations: 1.532 MB / 412.7 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1066, allocations: 0.7599 MB / 413.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.1067, allocations: 42.27 kB / 413.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.1068, allocations: 67.42 kB / 413.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1068, allocations: 8 kB / 413.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.1212, allocations: 4.642 MB / 418.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.1214, allocations: 197.8 kB / 418.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.793, allocations: 7.875 kB / 418.5 MB, free: 10.73 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_NormalInit.pipe ; mkfifo Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_NormalInit.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_NormalInit.pipe >> ../files/Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_NormalInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_NormalInit_fmu --startTime=0 --stopTime=1e-08 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_NormalInit.fmu > Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_NormalInit.pipe 2>&1) Environment - environmentSimulation: