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.1135/0.1135, allocations: 15.28 MB / 31.6 MB, free: 4.117 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.001184/0.001184, allocations: 108.5 kB / 36.6 MB, free: 3.168 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.001502/0.001502, allocations: 189.1 kB / 41.71 MB, free: 7.129 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.459/1.459, allocations: 222.9 MB / 269.5 MB, free: 6.941 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1782/0.1782, allocations: 23.36 MB / 347.3 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.074e-05, allocations: 5.234 kB / 479.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG): time 0.3657/0.3657, allocations: 107 MB / 0.5727 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0571/0.4228, allocations: 45.41 MB / 0.617 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003757/0.4266, allocations: 47.75 kB / 0.6171 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.4297, allocations: 0.6519 MB / 0.6177 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.444, allocations: 3.728 MB / 0.6214 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0154/0.4594, allocations: 4.49 MB / 0.6257 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006344/0.4658, allocations: 3.624 MB / 0.6293 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/0.4679, allocations: 1.135 MB / 0.6304 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00754/0.4755, allocations: 2.975 MB / 0.6333 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.4779, allocations: 1.109 MB / 0.6344 GB, free: 208 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.4783, allocations: 120 kB / 0.6345 GB, free: 88 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009914/0.4882, allocations: 3.381 MB / 0.6378 GB, free: 12.7 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.002924/0.4912, allocations: 2.523 MB / 0.6403 GB, free: 10.15 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.001136/0.4923, allocations: 1.504 MB / 0.6417 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.4929, allocations: 263.2 kB / 0.642 GB, free: 8.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0004586/0.4934, allocations: 99.7 kB / 0.6421 GB, free: 8.27 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.00595/0.4993, allocations: 6.206 MB / 0.6481 GB, free: 1.879 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0006518/0.5, allocations: 494.1 kB / 0.6486 GB, free: 1.398 MB / 462.1 MB Notification: Performance of Early Inline: time 0.003537/0.5035, allocations: 3.335 MB / 0.6519 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simplify1: time 0.000346/0.5039, allocations: 271.6 kB / 0.6521 GB, free: 13.75 MB / 478.1 MB Notification: Performance of Alias: time 0.006137/0.51, allocations: 4.926 MB / 0.6569 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simplify2: time 0.0003409/0.5104, allocations: 215.7 kB / 0.6571 GB, free: 7.863 MB / 478.1 MB Notification: Performance of Events: time 0.0005441/0.511, allocations: 493.1 kB / 0.6576 GB, free: 7.379 MB / 478.1 MB Notification: Performance of Detect States: time 0.0008477/0.5118, allocations: 0.766 MB / 0.6584 GB, free: 6.594 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001263/0.5131, allocations: 1.082 MB / 0.6594 GB, free: 5.375 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)