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: "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_InitSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_InitSteadyState",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.0009762/0.0009759, 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.0009267/0.000927, 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.334/1.334, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.07677/0.07677, allocations: 15.4 MB / 285.8 MB, free: 5.777 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.0005311/0.0005312, allocations: 16 kB / 347.8 MB, free: 18.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.09016, allocations: 51.4 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState): time 0.002506/0.0927, allocations: 2.33 MB / 401.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.09666, allocations: 2.702 MB / 404.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.09686, allocations: 7.938 kB / 404.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.097, allocations: 35.7 kB / 404.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008521/0.09786, allocations: 318.9 kB / 404.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.09866, allocations: 363.1 kB / 404.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.09896, allocations: 227.4 kB / 405.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.09909, allocations: 44.72 kB / 405.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.84e-05/0.09918, allocations: 87.62 kB / 405.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.09937, allocations: 107.5 kB / 405.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.0994, allocations: 12 kB / 405.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.922e-05/0.09945, allocations: 8 kB / 405.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.09951, allocations: 39.83 kB / 405.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.09957, allocations: 69.58 kB / 405.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.09974, allocations: 155.9 kB / 405.6 MB, free: 8.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.09975, allocations: 0 / 405.6 MB, free: 8.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.09976, allocations: 0 / 405.6 MB, free: 8.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.09977, allocations: 0 / 405.6 MB, free: 8.066 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.0007128/0.1005, allocations: 0.5021 MB / 406.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1005, allocations: 8.031 kB / 406.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.1006, allocations: 46.55 kB / 406.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.1006, allocations: 35.58 kB / 406.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.101, allocations: 286.3 kB / 406.5 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.101, allocations: 8 kB / 406.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.101, allocations: 20 kB / 406.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1013, allocations: 133.6 kB / 406.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1013, allocations: 0 / 406.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1013, allocations: 12 kB / 406.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1013, allocations: 3.953 kB / 406.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1015, allocations: 87.94 kB / 406.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009579/0.1025, allocations: 0.5663 MB / 407.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1027, allocations: 122.6 kB / 407.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1027, allocations: 3.984 kB / 407.5 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1027, allocations: 34.78 kB / 407.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.1027, allocations: 3.938 kB / 407.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000292/0.103, allocations: 169.4 kB / 407.7 MB, free: 5.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1031, allocations: 59.36 kB / 407.7 MB, free: 5.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.1033, allocations: 271 kB / 408 MB, free: 5.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1034, allocations: 29.7 kB / 408 MB, free: 5.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1035, allocations: 152.1 kB / 408.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1035, allocations: 39.45 kB / 408.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-06/0.1035, allocations: 4 kB / 408.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1036, allocations: 330.8 kB / 408.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.1037, allocations: 48.34 kB / 408.6 MB, free: 4.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1038, allocations: 85.88 kB / 408.7 MB, free: 4.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.94e-05/0.1039, allocations: 67.91 kB / 408.7 MB, free: 4.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.104, allocations: 0 / 408.7 MB, free: 4.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006096/0.1046, allocations: 257.8 kB / 409 MB, free: 4.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1046, allocations: 4 kB / 409 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1046, allocations: 0 / 409 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.1051, allocations: 72.77 kB / 409 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1053, allocations: 40.08 kB / 409.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.1072, allocations: 1.647 MB / 410.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1073, allocations: 19.78 kB / 410.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1074, allocations: 8 kB / 410.8 MB, free: 2.551 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.0001465/0.1075, allocations: 141.8 kB / 410.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1076, allocations: 31.61 kB / 410.9 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.1076, allocations: 21.8 kB / 410.9 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1076, allocations: 3.984 kB / 411 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1076, allocations: 0 / 411 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1076, allocations: 0 / 411 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.1079, allocations: 269.5 kB / 411.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1079, allocations: 0 / 411.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.1081, allocations: 27.98 kB / 411.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1081, allocations: 7.953 kB / 411.3 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1081, allocations: 4 kB / 411.3 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1081, allocations: 4 kB / 411.3 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1081, allocations: 0 / 411.3 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.1084, allocations: 291.5 kB / 411.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.1085, allocations: 112.8 kB / 411.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1086, allocations: 7.938 kB / 411.7 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1087, allocations: 8.062 kB / 411.7 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.1087, allocations: 8 kB / 411.7 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1087, allocations: 0 / 411.7 MB, free: 1.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.1089, allocations: 193.9 kB / 411.9 MB, free: 1.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1089, allocations: 0 / 411.9 MB, free: 1.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.1092, allocations: 59.91 kB / 411.9 MB, free: 1.293 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.0005277/0.1098, allocations: 0.8215 MB / 412.7 MB, free: 456 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005289/0.1103, allocations: 254.5 kB / 413 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1103, allocations: 0 / 413 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.1104, allocations: 51.91 kB / 413 MB, free: 136 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1107, allocations: 65.14 kB / 413.1 MB, free: 68 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1119, allocations: 1.548 MB / 414.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.1122, allocations: 0.7674 MB / 415.4 MB, free: 13.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1124, allocations: 38.27 kB / 415.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.1125, allocations: 71.41 kB / 415.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1125, allocations: 0 / 415.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.129, allocations: 5.369 MB / 420.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.1293, allocations: 228 kB / 421.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.869, allocations: 0 / 421.1 MB, free: 7.926 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_InitSteadyState_fmu --startTime=0 --stopTime=1e-08 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_SteadyStates_Examples_SimpleReaction_InitSteadyState.fmu > Physiolibrary_Physiolibrary.SteadyStates.Examples.SimpleReaction_InitSteadyState.pipe 2>&1) Environment - environmentSimulation: