Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.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_in_Equilibrium,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_in_Equilibrium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_in_Equilibrium",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.000924/0.000924, allocations: 102.8 kB / 15.06 MB, free: 1.098 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.0009878/0.0009879, allocations: 173.3 kB / 15.95 MB, free: 212 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.316/1.316, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.08012/0.08012, allocations: 15.39 MB / 285.8 MB, free: 5.898 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.0005461/0.0005462, allocations: 12 kB / 347.8 MB, free: 18.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08707/0.08763, allocations: 51.41 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium): time 0.002642/0.09031, allocations: 2.271 MB / 401.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004124/0.09447, allocations: 2.706 MB / 404.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.09479, allocations: 11.88 kB / 404.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.09498, allocations: 27.77 kB / 404.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.09612, allocations: 330.9 kB / 404.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009854/0.09712, allocations: 347.2 kB / 404.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.09748, allocations: 235.4 kB / 405.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.09763, allocations: 44.72 kB / 405.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.09775, allocations: 83.64 kB / 405.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.09798, allocations: 107.5 kB / 405.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.09801, allocations: 4 kB / 405.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.262e-05/0.09805, allocations: 12 kB / 405.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.09814, allocations: 43.83 kB / 405.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.09821, allocations: 69.58 kB / 405.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.09841, allocations: 155.7 kB / 405.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.09842, allocations: 0 / 405.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09843, allocations: 0 / 405.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.09844, allocations: 0 / 405.6 MB, free: 8.125 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.0008404/0.09929, allocations: 0.5021 MB / 406.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.09933, allocations: 12.02 kB / 406.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.09938, allocations: 42.56 kB / 406.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.09944, allocations: 35.58 kB / 406.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.09986, allocations: 282.4 kB / 406.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.09989, allocations: 8 kB / 406.5 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.09992, allocations: 15.98 kB / 406.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.1002, allocations: 159.3 kB / 406.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1002, allocations: 0 / 406.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1002, allocations: 12 kB / 406.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1002, allocations: 0 / 406.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.1004, allocations: 95.83 kB / 406.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.1016, allocations: 0.6867 MB / 407.4 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.1022, allocations: 141.1 kB / 407.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.1023, allocations: 192 / 407.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1023, allocations: 38.56 kB / 407.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.1023, allocations: 4 kB / 407.6 MB, free: 5.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001858/0.1042, allocations: 0.509 MB / 408.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.1042, allocations: 85.06 kB / 408.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1045, allocations: 296.4 kB / 408.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1046, allocations: 37.67 kB / 408.5 MB, free: 4.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1047, allocations: 172 kB / 408.7 MB, free: 4.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.1047, allocations: 43.48 kB / 408.7 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.1047, allocations: 7.938 kB / 408.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1049, allocations: 338.8 kB / 409.1 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-05/0.105, allocations: 56.44 kB / 409.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1051, allocations: 174.5 kB / 409.3 MB, free: 4.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1053, allocations: 87.97 kB / 409.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1053, allocations: 0 / 409.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001244/0.1066, allocations: 410.8 kB / 409.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1066, allocations: 8.031 kB / 409.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1066, allocations: 4 kB / 409.8 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009794/0.1076, allocations: 169.5 kB / 410 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1077, allocations: 35.92 kB / 410 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.1112, allocations: 3.339 MB / 413.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1114, allocations: 12 kB / 413.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1114, allocations: 19.95 kB / 413.4 MB, free: 15.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (22): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.1116, allocations: 145.9 kB / 413.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.1117, allocations: 27.62 kB / 413.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.1117, allocations: 34.61 kB / 413.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1117, allocations: 4 kB / 413.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1117, allocations: 0 / 413.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1118, allocations: 0 / 413.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.1122, allocations: 309.5 kB / 413.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1122, allocations: 0 / 413.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1122, allocations: 8 kB / 413.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009075/0.1132, allocations: 165.5 kB / 414 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1132, allocations: 7.938 kB / 414.1 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003154/0.1163, allocations: 3.264 MB / 417.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1164, allocations: 3.984 kB / 417.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1174, allocations: 0.5483 MB / 417.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.1175, allocations: 116.8 kB / 418 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.1176, allocations: 0 / 418 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.1178, allocations: 16 kB / 418 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1178, allocations: 7.984 kB / 418 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1178, allocations: 7.984 kB / 418 MB, free: 10.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.118, allocations: 199.1 kB / 418.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.118, allocations: 4 kB / 418.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004519/0.1185, allocations: 76 kB / 418.3 MB, free: 10.45 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (amountOfSubstanceConservationLaw.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 (5): * Single equations (assignments): 3 * 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 {(1,100.0%) 3} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/0.1199, allocations: 1.158 MB / 419.4 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009063/0.1208, allocations: 446.2 kB / 419.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1208, allocations: 0 / 419.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.1214, allocations: 325.4 kB / 420.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.1218, allocations: 53.06 kB / 420.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.1236, allocations: 3.14 MB / 423.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.124, allocations: 0.7717 MB / 424.2 MB, free: 4.332 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.1241, allocations: 38.95 kB / 424.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.1242, allocations: 71.41 kB / 424.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1242, allocations: 0 / 424.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1839/0.3081, allocations: 7.302 MB / 431.6 MB, free: 34.09 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.3082, allocations: 228.7 kB / 431.8 MB, free: 33.85 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.111, allocations: 2.375 kB / 431.8 MB, free: 33.85 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe ; mkfifo Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe >> ../files/Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_in_Equilibrium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_in_Equilibrium.fmu > Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_in_Equilibrium.pipe 2>&1) Environment - environmentSimulation: