Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.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.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",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.0009052/0.0009054, allocations: 98.53 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.0009238/0.0009238, 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.295/1.295, 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.07805/0.07805, 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.0005606/0.0005606, allocations: 20 kB / 347.7 MB, free: 18.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09249, allocations: 51.41 MB / 399.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002369/0.09489, allocations: 2 MB / 401.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.09852, allocations: 2.616 MB / 403.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.09864, allocations: 11.88 kB / 403.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.09869, allocations: 11.86 kB / 403.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007245/0.09942, allocations: 295 kB / 404.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.1002, allocations: 335.2 kB / 404.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.1004, allocations: 179.5 kB / 404.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1006, allocations: 56.59 kB / 404.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.1006, allocations: 63.72 kB / 404.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1008, allocations: 71.64 kB / 404.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1008, allocations: 8 kB / 404.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.46e-05/0.1008, allocations: 8 kB / 404.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.1008, allocations: 27.83 kB / 404.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.1009, allocations: 65.58 kB / 404.9 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.101, allocations: 127.9 kB / 405 MB, free: 8.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1011, allocations: 0 / 405 MB, free: 8.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1011, allocations: 0 / 405 MB, free: 8.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1011, allocations: 0 / 405 MB, free: 8.688 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.0005555/0.1016, allocations: 466.8 kB / 405.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1017, allocations: 8.031 kB / 405.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.1017, allocations: 46.55 kB / 405.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.1018, allocations: 31.66 kB / 405.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1021, allocations: 262.2 kB / 405.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1021, allocations: 8.281 kB / 405.8 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.1022, allocations: 19.94 kB / 405.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.1024, allocations: 123.9 kB / 406 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1024, allocations: 4 kB / 406 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1024, allocations: 4 kB / 406 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1024, allocations: 4 kB / 406 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1026, allocations: 84.17 kB / 406 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.1034, allocations: 0.508 MB / 406.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.1036, allocations: 110.5 kB / 406.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.1036, allocations: 4.094 kB / 406.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1036, allocations: 34.55 kB / 406.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1036, allocations: 0 / 406.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002918/0.1039, allocations: 145.6 kB / 406.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.104, allocations: 51.41 kB / 406.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1042, allocations: 220 kB / 407.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1042, allocations: 25.7 kB / 407.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.1043, allocations: 148.2 kB / 407.3 MB, free: 6.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.1043, allocations: 43.39 kB / 407.3 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.1043, allocations: 4 kB / 407.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1045, allocations: 330.8 kB / 407.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.1045, allocations: 40.36 kB / 407.7 MB, free: 5.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.1046, allocations: 59.31 kB / 407.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.1047, allocations: 44 kB / 407.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1047, allocations: 0 / 407.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002265/0.1049, allocations: 165.2 kB / 407.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.105, allocations: 8 kB / 408 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.105, allocations: 4.062 kB / 408 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.105, allocations: 0 / 408 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1052, allocations: 39.86 kB / 408 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1052, allocations: 7.984 kB / 408 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.1053, allocations: 19.8 kB / 408 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1053, allocations: 8 kB / 408 MB, free: 5.426 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 22 * 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.0001029/0.1054, allocations: 133.8 kB / 408.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1054, allocations: 15.81 kB / 408.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.1055, allocations: 25.39 kB / 408.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1055, allocations: 4 kB / 408.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1055, allocations: 0 / 408.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1055, allocations: 3.984 kB / 408.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1058, allocations: 261.4 kB / 408.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1058, allocations: 0 / 408.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1059, allocations: 20 kB / 408.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1059, allocations: 4 kB / 408.5 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1059, allocations: 0 / 408.5 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1059, allocations: 3.984 kB / 408.5 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1059, allocations: 3.938 kB / 408.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.1063, allocations: 259.2 kB / 408.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.1063, allocations: 104.8 kB / 408.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1064, allocations: 8 kB / 408.9 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.1065, allocations: 0 / 408.9 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.1065, allocations: 7.984 kB / 408.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1065, allocations: 4 kB / 408.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1066, allocations: 145.9 kB / 409 MB, free: 4.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1066, allocations: 4 kB / 409 MB, free: 4.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1069, allocations: 40 kB / 409.1 MB, free: 4.305 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.state,prey.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 (12): * Single equations (assignments): 12 * 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.0005049/0.1074, allocations: 0.7868 MB / 409.8 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1076, allocations: 92.02 kB / 409.9 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1076, allocations: 4.188 kB / 409.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.1077, allocations: 47.86 kB / 410 MB, free: 3.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.108, allocations: 32.66 kB / 410 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.109, allocations: 0.9563 MB / 411 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1093, allocations: 0.7401 MB / 411.7 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.1094, allocations: 13.55 kB / 411.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.1094, allocations: 59.42 kB / 411.8 MB, free: 1.469 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1095, allocations: 4 kB / 411.8 MB, free: 1.465 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.1306, allocations: 3.417 MB / 415.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/0.131, allocations: 176.5 kB / 415.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.758, allocations: 0 / 415.4 MB, free: 13.8 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) Environment - environmentSimulation: