Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000875/0.000875, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 211.6 kB / 22.25 MB, free: 3.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.059/1.059, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.08459/0.08459, allocations: 17.17 MB / 329.6 MB, free: 0.7227 MB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 79.83 kB / 460.3 MB, free: 26.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.08834, allocations: 57.76 MB / 0.5059 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.003448/0.09179, allocations: 3.466 MB / 0.5093 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.09337, allocations: 0.8218 MB / 0.5101 GB, free: 12.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.09364, allocations: 19.81 kB / 0.5101 GB, free: 12.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.09386, allocations: 71.28 kB / 0.5102 GB, free: 12.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000489/0.09435, allocations: 214.4 kB / 0.5104 GB, free: 12.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.09462, allocations: 103.8 kB / 0.5105 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.09514, allocations: 0.5949 MB / 0.5111 GB, free: 11.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.09534, allocations: 88.8 kB / 0.5112 GB, free: 11.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.0956, allocations: 211.3 kB / 0.5114 GB, free: 11.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.09586, allocations: 215 kB / 0.5116 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.0959, allocations: 28 kB / 0.5116 GB, free: 11.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.09595, allocations: 28 kB / 0.5116 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.09601, allocations: 71.7 kB / 0.5117 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.09615, allocations: 199.2 kB / 0.5119 GB, free: 10.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.09661, allocations: 442.5 kB / 0.5123 GB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.09661, allocations: 0 / 0.5123 GB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.09662, allocations: 0 / 0.5123 GB, free: 10.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.09663, allocations: 0 / 0.5123 GB, free: 10.32 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009341/0.09756, allocations: 0.614 MB / 0.5129 GB, free: 9.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.09762, allocations: 8.031 kB / 0.5129 GB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.504e-05/0.09768, allocations: 74.66 kB / 0.513 GB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.09776, allocations: 44.7 kB / 0.513 GB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.09819, allocations: 273.2 kB / 0.5133 GB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.09829, allocations: 136 kB / 0.5134 GB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.09834, allocations: 36.06 kB / 0.5135 GB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.09878, allocations: 392.8 kB / 0.5138 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.09879, allocations: 0 / 0.5138 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.09881, allocations: 15.98 kB / 0.5139 GB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.09882, allocations: 8 kB / 0.5139 GB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.09917, allocations: 242.5 kB / 0.5141 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1002, allocations: 0.7729 MB / 0.5149 GB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.1006, allocations: 234.5 kB / 0.5151 GB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.1009, allocations: 172.7 kB / 0.5152 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1009, allocations: 4.375 kB / 0.5152 GB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1009, allocations: 42.5 kB / 0.5153 GB, free: 7.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.1009, allocations: 0 / 0.5153 GB, free: 7.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005485/0.1015, allocations: 333.2 kB / 0.5156 GB, free: 6.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.1015, allocations: 55.41 kB / 0.5157 GB, free: 6.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.1018, allocations: 349.6 kB / 0.516 GB, free: 6.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1018, allocations: 29.7 kB / 0.516 GB, free: 6.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1019, allocations: 192.5 kB / 0.5162 GB, free: 6.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.102, allocations: 83.2 kB / 0.5163 GB, free: 6.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.102, allocations: 49.7 kB / 0.5163 GB, free: 5.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1021, allocations: 346.8 kB / 0.5167 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1023, allocations: 83.94 kB / 0.5167 GB, free: 5.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1024, allocations: 95.94 kB / 0.5168 GB, free: 5.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.1027, allocations: 197.2 kB / 0.517 GB, free: 5.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1027, allocations: 3.938 kB / 0.517 GB, free: 5.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003614/0.103, allocations: 297.3 kB / 0.5173 GB, free: 4.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1031, allocations: 4 kB / 0.5173 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1031, allocations: 0 / 0.5173 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1031, allocations: 4 kB / 0.5173 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.1034, allocations: 91.86 kB / 0.5174 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1034, allocations: 0 / 0.5174 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1035, allocations: 35.77 kB / 0.5174 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1036, allocations: 16 kB / 0.5175 GB, free: 4.812 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.1037, allocations: 141.7 kB / 0.5176 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.1037, allocations: 35.77 kB / 0.5176 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.1041, allocations: 288.2 kB / 0.5179 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1041, allocations: 4 kB / 0.5179 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1041, allocations: 4 kB / 0.5179 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1041, allocations: 0 / 0.5179 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.1044, allocations: 316.5 kB / 0.5182 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1044, allocations: 0 / 0.5182 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.1047, allocations: 79.86 kB / 0.5183 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1047, allocations: 4 kB / 0.5183 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1047, allocations: 8 kB / 0.5183 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1047, allocations: 0 / 0.5183 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1047, allocations: 3.984 kB / 0.5183 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.1053, allocations: 479 kB / 0.5188 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.1054, allocations: 39.64 kB / 0.5188 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.1054, allocations: 8.031 kB / 0.5188 GB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1055, allocations: 15.98 kB / 0.5188 GB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1055, allocations: 11.98 kB / 0.5188 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1055, allocations: 7.984 kB / 0.5188 GB, free: 3.328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1057, allocations: 243.2 kB / 0.5191 GB, free: 3.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1057, allocations: 0 / 0.5191 GB, free: 3.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.106, allocations: 95.95 kB / 0.5192 GB, free: 3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (PulmonaryArteries.volume,PulmonaryVeins.volume,SystemicVeins.volume,SystemicArteries.volume) * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007141/0.1067, allocations: 1.008 MB / 0.5201 GB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.107, allocations: 215.8 kB / 0.5203 GB, free: 1.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.107, allocations: 3.938 kB / 0.5204 GB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.1072, allocations: 103.9 kB / 0.5205 GB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1076, allocations: 111.8 kB / 0.5206 GB, free: 1.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.1106, allocations: 3.225 MB / 0.5237 GB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.1107, allocations: 185.8 kB / 0.5239 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.1108, allocations: 55.25 kB / 0.5239 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.111, allocations: 119.4 kB / 0.5241 GB, free: 13.87 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.111, allocations: 0 / 0.5241 GB, free: 13.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08936/0.2003, allocations: 9.739 MB / 0.5336 GB, free: 4.336 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/7.043, allocations: 5.641 kB / 0.5336 GB, free: 4.336 MB / 394.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation.fmu) > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Bodylight_Bodylight_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation.fmu) > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.514571540988982]