Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.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.Hydraulic.Examples.CardiovascularSystem_GCG,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_CardiovascularSystem_GCG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_CardiovascularSystem_GCG",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.0009434/0.0009434, allocations: 98.83 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.0008934/0.0008934, 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.403/1.403, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.07814/0.07814, allocations: 15.4 MB / 285.8 MB, free: 5.918 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.0005631/0.0005632, allocations: 16 kB / 347.8 MB, free: 18.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09107, allocations: 51.41 MB / 399.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.003788/0.0949, allocations: 3.898 MB / 403.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006914/0.1018, allocations: 5.496 MB / 408.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.1023, allocations: 23.81 kB / 408.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.1028, allocations: 147.2 kB / 408.7 MB, free: 5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.1044, allocations: 0.7671 MB / 409.5 MB, free: 4.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1062, allocations: 0.7833 MB / 410.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007685/0.107, allocations: 0.6397 MB / 410.9 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.1073, allocations: 156.7 kB / 411.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.1075, allocations: 259.1 kB / 411.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.1079, allocations: 346.6 kB / 411.7 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.108, allocations: 28 kB / 411.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.1083, allocations: 187.7 kB / 411.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.1085, allocations: 191.3 kB / 412.1 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1087, allocations: 169.3 kB / 412.2 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.1097, allocations: 1.415 MB / 413.6 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1098, allocations: 0 / 413.6 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1098, allocations: 0 / 413.6 MB, free: 64 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1098, allocations: 4 kB / 413.6 MB, free: 60 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003641/0.1134, allocations: 1.371 MB / 415 MB, free: 14.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1135, allocations: 15.98 kB / 415 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.1136, allocations: 82.52 kB / 415.1 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.1138, allocations: 98.78 kB / 415.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/0.1177, allocations: 2.846 MB / 418 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.1178, allocations: 33 kB / 418.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.1179, allocations: 55.95 kB / 418.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008823/0.1188, allocations: 0.5374 MB / 418.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1188, allocations: 4 kB / 418.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.1188, allocations: 20 kB / 418.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1189, allocations: 8 kB / 418.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.1199, allocations: 0.6442 MB / 419.3 MB, free: 10.23 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00468/0.1246, allocations: 3.06 MB / 422.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.1264, allocations: 1.009 MB / 423.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.1264, allocations: 4 kB / 423.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1264, allocations: 38.55 kB / 423.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.1265, allocations: 0 / 423.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001631/0.1281, allocations: 0.9109 MB / 424.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1281, allocations: 55.41 kB / 424.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004548/0.1327, allocations: 3.367 MB / 427.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.1328, allocations: 37.7 kB / 427.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.1331, allocations: 384.3 kB / 428.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1332, allocations: 126.2 kB / 428.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.1332, allocations: 8 kB / 428.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1334, allocations: 322 kB / 428.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.1339, allocations: 272.7 kB / 428.9 MB, free: 496 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.1344, allocations: 347.5 kB / 429.3 MB, free: 124 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.15/0.2844, allocations: 286.5 kB / 429.5 MB, free: 31.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/0.2844, allocations: 1.938 kB / 429.5 MB, free: 31.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001563/0.286, allocations: 0.7519 MB / 430.3 MB, free: 31.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.286, allocations: 6.688 kB / 430.3 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.286, allocations: 2.719 kB / 430.3 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2861, allocations: 4.781 kB / 430.3 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.2865, allocations: 115 kB / 430.4 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2865, allocations: 8.203 kB / 430.4 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009097/0.2875, allocations: 71.66 kB / 430.5 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2875, allocations: 24.06 kB / 430.5 MB, free: 31.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (53): * Single equations (assignments): 53 * 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.000283/0.2878, allocations: 233.9 kB / 430.7 MB, free: 31.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.288, allocations: 83.72 kB / 430.8 MB, free: 31.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.2891, allocations: 0.7118 MB / 431.5 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.2891, allocations: 3.656 kB / 431.5 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2891, allocations: 0 / 431.5 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2891, allocations: 3.406 kB / 431.5 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.2926, allocations: 2.169 MB / 433.7 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2926, allocations: 6.25 kB / 433.7 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.2931, allocations: 88.36 kB / 433.8 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2931, allocations: 2.141 kB / 433.8 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.2931, allocations: 9.609 kB / 433.8 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2931, allocations: 3.875 kB / 433.8 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2931, allocations: 0 / 433.8 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.2947, allocations: 1.147 MB / 435 MB, free: 31.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.2958, allocations: 0.5086 MB / 435.5 MB, free: 31.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.296, allocations: 6.109 kB / 435.5 MB, free: 31.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.2969, allocations: 39.69 kB / 435.5 MB, free: 31.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.297, allocations: 30.69 kB / 435.5 MB, free: 31.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.297, allocations: 9.922 kB / 435.6 MB, free: 31.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00306/0.3001, allocations: 2.551 MB / 438.1 MB, free: 31 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3001, allocations: 0 / 438.1 MB, free: 31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009211/0.301, allocations: 283.2 kB / 438.4 MB, free: 30.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pulmonaryVeinsAndLeftAtrium.state,pulmonaryArteries.state,arteries.state,veins.state,rightAtrium.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 (36): * Single equations (assignments): 36 * 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.002278/0.3033, allocations: 1.717 MB / 440.1 MB, free: 30.06 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3043, allocations: 0.6102 MB / 440.7 MB, free: 29.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3043, allocations: 0 / 440.7 MB, free: 29.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.3048, allocations: 314.8 kB / 441 MB, free: 29.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.3056, allocations: 125.5 kB / 441.1 MB, free: 29.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.3086, allocations: 3.295 MB / 444.4 MB, free: 27.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.3091, allocations: 0.9768 MB / 445.4 MB, free: 26.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005649/0.3097, allocations: 231.2 kB / 445.6 MB, free: 26.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/0.3103, allocations: 340.9 kB / 446 MB, free: 26.48 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3103, allocations: 0 / 446 MB, free: 26.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.3428, allocations: 24.71 MB / 470.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/0.3429, allocations: 189.2 kB / 470.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.179, allocations: 4 kB / 470.9 MB, free: 4.871 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; mkfifo Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.pipe >> ../files/Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Hydraulic_Examples_CardiovascularSystem_GCG_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Hydraulic_Examples_CardiovascularSystem_GCG.fmu > Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) Environment - environmentSimulation: