Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG") translateModel(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.0766/0.0766, allocations: 15.29 MB / 31.6 MB, free: 4.105 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 104.6 kB / 36.6 MB, free: 3.16 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 193.1 kB / 41.71 MB, free: 7.098 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 222.9 MB / 269.6 MB, free: 6.852 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1272/0.1272, allocations: 23.35 MB / 347.3 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.479e-05, allocations: 2.281 kB / 479.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG): time 0.241/0.241, allocations: 107 MB / 0.5727 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04138/0.2824, allocations: 45.43 MB / 0.617 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.2843, allocations: 47.75 kB / 0.6171 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.2859, allocations: 0.6596 MB / 0.6177 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.2944, allocations: 3.808 MB / 0.6214 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.3046, allocations: 4.526 MB / 0.6259 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00351/0.3081, allocations: 3.621 MB / 0.6294 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.3092, allocations: 1.133 MB / 0.6305 GB, free: 4.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004934/0.3142, allocations: 2.99 MB / 0.6334 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.3154, allocations: 1.109 MB / 0.6345 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.3155, allocations: 124 kB / 0.6346 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006702/0.3223, allocations: 3.377 MB / 0.6379 GB, free: 12.42 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.001836/0.3241, allocations: 2.527 MB / 0.6404 GB, free: 9.871 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009035/0.325, allocations: 1.504 MB / 0.6419 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.3253, allocations: 263.2 kB / 0.6421 GB, free: 8.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0002725/0.3256, allocations: 91.72 kB / 0.6422 GB, free: 8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 (233) * Number of variables: 257 (221) Notification: Performance of Bindings: time 0.004937/0.3305, allocations: 6.216 MB / 0.6483 GB, free: 1.598 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0004899/0.331, allocations: 492.1 kB / 0.6487 GB, free: 1.121 MB / 462.1 MB Notification: Performance of Early Inline: time 0.002939/0.334, allocations: 3.335 MB / 0.652 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simplify1: time 0.0002256/0.3342, allocations: 271.6 kB / 0.6523 GB, free: 13.47 MB / 478.1 MB Notification: Performance of Alias: time 0.004668/0.3389, allocations: 4.934 MB / 0.6571 GB, free: 7.789 MB / 478.1 MB Notification: Performance of simplify2: time 0.0001784/0.3391, allocations: 211.7 kB / 0.6573 GB, free: 7.582 MB / 478.1 MB Notification: Performance of Detect States: time 0.0007321/0.3398, allocations: 0.813 MB / 0.6581 GB, free: 6.75 MB / 478.1 MB Notification: Performance of Events: time 0.0004191/0.3402, allocations: 372.5 kB / 0.6584 GB, free: 6.387 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001008/0.3412, allocations: 1.09 MB / 0.6595 GB, free: 5.16 MB / 478.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 4 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: arteries.q_in[4].h_outflow. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) $DER.arteries.enthalpy = arteries.q_in.m_flow * {if $SEV_10 then leftHeart.q_out.h_outflow else arteries.q_in[1].h_outflow, if $SEV_11 then muscle.q_out.h_outflow else arteries.q_in[2].h_outflow, if $SEV_12 then nonMuscle.q_out.h_outflow else arteries.q_in[3].h_outflow, if $SEV_13 then kidney.q_out.h_outflow else arteries.q_in[4].h_outflow, arteries.q_in[5].h_outflow} ($RES_SIM_134)